Debug Info: for static member variables, add AT_MIPS_linkage_name to the
authorManman Ren <mren@apple.com>
Wed, 27 Feb 2013 00:02:32 +0000 (00:02 +0000)
committerManman Ren <mren@apple.com>
Wed, 27 Feb 2013 00:02:32 +0000 (00:02 +0000)
commit5ae44d2b759f7a7304d84f892e3eb3c2d0b87a50
tree5cad54d18f1bf7e9e08f2551807b8e3bfcd52df5
parent08037045f85bb6875a15b6db9a80b3c3476278a4
Debug Info: for static member variables, add AT_MIPS_linkage_name to the
definition DIE, to make old GDB happy.

We have a regression for old GDB when Clang uses DW_TAG_member to declare
static members inside a class, instead of DW_TAG_variable. This patch will fix
this regression.

rdar://problem/13291234

llvm-svn: 176143
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/test/DebugInfo/X86/debug-info-static-member.ll