From 11cb57160f4053e9dce292b461c035dcc563fdb7 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Tue, 11 Jul 2017 09:51:03 +0200 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.dlang/demangle.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6b22498783a..aa3dee3a09a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-07-11 Iain Buclaw + + * gdb.dlang/demangle.exp: Update for demangling changes. + 2017-07-09 Tom Tromey * gdb.dwarf2/shortpiece.exp: New file. diff --git a/gdb/testsuite/gdb.dlang/demangle.exp b/gdb/testsuite/gdb.dlang/demangle.exp index baf6d6fd854..fcb353a89ef 100644 --- a/gdb/testsuite/gdb.dlang/demangle.exp +++ b/gdb/testsuite/gdb.dlang/demangle.exp @@ -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" -- 2.30.2