Debug Info: for static member variables, move AT_MIPS_linkage_name from
authorManman Ren <mren@apple.com>
Tue, 26 Feb 2013 20:48:29 +0000 (20:48 +0000)
committerManman Ren <mren@apple.com>
Tue, 26 Feb 2013 20:48:29 +0000 (20:48 +0000)
commit6fe26103d71263124e3cc56c0a349cb1391208a1
tree37a9e048aa3248bb94802773a8a777b3280f1f89
parent0908bcbf4483d1245f2156624268cf0922e874c9
Debug Info: for static member variables, move AT_MIPS_linkage_name from
TAG_member inside a class to the specification DIE.

Having AT_MIPS_linkage_name on TAG_member caused old gdb (GNU 6.3.50) to
error out. Also gcc 4.7 has AT_MIPS_linkage_name on the specification DIE.

rdar://problem/13291234

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