Make sure debug info contains linkage names (DW_AT_MIPS_linkage_name)
authorEric Christopher <echristo@gmail.com>
Wed, 8 May 2013 21:23:22 +0000 (21:23 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 8 May 2013 21:23:22 +0000 (21:23 +0000)
commitcc55d4528c9ff3a2e0b148fd311be8d912ad22f4
tree286ab5cb3a7108d4e472defdc9e257eb00b67927
parent0fd09cd99b7740cb0ae666e1d51e005e2fdaa3ad
Make sure debug info contains linkage names (DW_AT_MIPS_linkage_name)
for constructors and destructors since the original declaration given
by the AT_specification both won't and can't.

Patch by Yacine Belkadi, I've cleaned up the testcases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181471 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
test/DebugInfo/X86/concrete_out_of_line.ll
test/DebugInfo/X86/linkage-name-ctor-dtor.ll [new file with mode: 0644]