http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49047
Summary: DW_AT_linkage_name missing for constructors and destructors Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: tro...@gcc.gnu.org Compile this with -g: struct K { K () { } ~K () { } int m () { return 5; } }; K k; If you run 'readelf -wi' on it, you will see that 'm' has a linkage name: <2><66>: Abbrev Number: 5 (DW_TAG_subprogram) <67> DW_AT_external : 1 <68> DW_AT_name : m <6a> DW_AT_decl_file : 1 <6b> DW_AT_decl_line : 6 <6c> DW_AT_MIPS_linkage_name: (indirect string, offset: 0x76): _ZN1K1mEv However, the constructors and destructor do not.