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)
commit06df83c25a7b07b3a19a40bd680c0a205bcc0b9a
tree5501f6eea0c939697703be881f69ba178516d2fd
parentb3201c5cf1e183d840f7c99ff779d57f1549d8e5
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

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