[Dwarf] avoid emitting multiple AT_const_value for static memebers.
authorManman Ren <mren@apple.com>
Fri, 1 Feb 2013 23:54:37 +0000 (23:54 +0000)
committerManman Ren <mren@apple.com>
Fri, 1 Feb 2013 23:54:37 +0000 (23:54 +0000)
commit945e828003b746f6bbe86390940cf1433d18b0a1
treece478175601898beddd51e8d7b4e0b1c9695ac6d
parentdbc86b98f2acd459ab3270cd8500afd32eba7b09
[Dwarf] avoid emitting multiple AT_const_value for static memebers.

Testing case is reduced from MultiSource/BenchMarks/Prolangs-C++/deriv1.

rdar://problem/13071590

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