re PR debug/49047 (DW_AT_linkage_name missing for constructors and destructors)
authorDodji Seketeli <dodji@redhat.com>
Tue, 31 May 2011 12:09:06 +0000 (12:09 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Tue, 31 May 2011 12:09:06 +0000 (14:09 +0200)
commit874e7c171cd2af43b4dc9dddae981120e1b29e33
tree9c47c4f2973048814d4053c3e7690993b6e03ac2
parent755b3b7cf7c635a5c766400865c2bfa52d6aa16d
re PR debug/49047 (DW_AT_linkage_name missing for constructors and destructors)

Fix PR debug/49047

gcc/

* dwarf2out.c (gen_subprogram_die): Emit linkage name attribute
for concrete functions containing the code of cloned functions.

gcc/testsuite/

* g++.dg/debug/dwarf2/cdtor-1.C: New test.

From-SVN: r174472
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/cdtor-1.C [new file with mode: 0644]