Debug Info: for static member variables, always put AT_MIPS_linkage_name to the
authorManman Ren <mren@apple.com>
Wed, 27 Feb 2013 23:21:02 +0000 (23:21 +0000)
committerManman Ren <mren@apple.com>
Wed, 27 Feb 2013 23:21:02 +0000 (23:21 +0000)
commit21a08a1189df7922de3a89432cf896ed681db5d5
tree3ea676aa2c6e4a9885136eb1f47f534f4eba1e71
parent139f50a1a8d985bd950d88cef54a7ee560de9cb9
Debug Info: for static member variables, always put AT_MIPS_linkage_name to the
definition DIE (TAG_variable), and put AT_MIPS_linkage_name to TAG_member when
DarwinGDBCompat is true.

Darwin GDB needs AT_MIPS_linkage_name at both places to work.

Follow-up patch to r176143.
rdar://problem/13291234

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176220 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
test/DebugInfo/X86/debug-info-static-member.ll