Remove the DW_AT_MIPS_linkage name attribute when we don't need it
authorEric Christopher <echristo@apple.com>
Thu, 23 Aug 2012 22:52:55 +0000 (22:52 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 23 Aug 2012 22:52:55 +0000 (22:52 +0000)
commitcbbd5b1d86e0d06c804f4cdd61e0676b2d2f5c85
tree5be67dacf95f7a160172e806d09a08a13299ab52
parent20f47ab7688ba1e5e4c6af4be47c2f07ee4e9ab6
Remove the DW_AT_MIPS_linkage name attribute when we don't need it
output (we're emitting a specification already and the information
isn't changing) and we're not in old gdb compat mode.

Saves 1% on the debug information for a build of llvm.

Fixes rdar://11043421

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