Sync dlang demangling tests from upstream libiberty testsuite.

Rationale behind the change instead of adding a `.init$' postfix being
that "initializer for symbol" is much more informative when inspecting D
runtime type information in gdb, which is the only place where you would
encounter references to this compiler-generated symbol.

gdb/testsuite/ChangeLog:

	* gdb.dlang/demangle.exp: Update for demangling changes.
This commit is contained in:
Iain Buclaw 2017-07-11 09:51:03 +02:00
parent 36cebdda80
commit 11cb57160f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
* gdb.dlang/demangle.exp: Update for demangling changes.
2017-07-09 Tom Tromey <tom@tromey.com>
* gdb.dwarf2/shortpiece.exp: New file.

View File

@ -146,7 +146,7 @@ proc test_d_demangling {} {
test_demangling "_D8demangle4testFPFNdNfNaZaZv" "demangle.test(char() @property @safe pure function)"
test_demangling "_D8demangle4test6__vtblZ" "vtable for demangle.test"
test_demangling "_D8demangle4test6__initZ" "demangle.test.init$"
test_demangling "_D8demangle4test6__initZ" "initializer for demangle.test"
test_demangling "_D8demangle4test12__ModuleInfoZ" "ModuleInfo for demangle.test"
test_demangling "_D8demangle4test7__ClassZ" "ClassInfo for demangle.test"
test_demangling "_D8demangle4test11__InterfaceZ" "Interface for demangle.test"