re PR debug/49047 (DW_AT_linkage_name missing for constructors and destructors)
authorDodji Seketeli <dodji@redhat.com>
Tue, 31 May 2011 12:17:21 +0000 (12:17 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Tue, 31 May 2011 12:17:21 +0000 (14:17 +0200)
commit8d8a3bda40b0fa5aeb801287f0e2e79affe26c54
tree18b31c88a8a9f88d67ab7bf52a03714bab357854
parent6e8c8b23001dd0f042e591e707a4a1cd3ddb5914
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: r174474
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/cdtor-1.C [new file with mode: 0644]