]> granicus.if.org Git - llvm/commit
Filter out non-constant DIGlobalVariableExpressions reachable via the CU
authorAdrian Prantl <aprantl@apple.com>
Sat, 19 Aug 2017 01:15:06 +0000 (01:15 +0000)
committerAdrian Prantl <aprantl@apple.com>
Sat, 19 Aug 2017 01:15:06 +0000 (01:15 +0000)
commit96438d3760b7b10dbf9d28c42ce8a0160090011f
tree3936d79d1d0157fe794479bf0bf8517dfa17408f
parent79fe5367c19c9ab06eac956705f710868c618fc4
Filter out non-constant DIGlobalVariableExpressions reachable via the CU

They won't affect the DWARF output, but they will mess with the
sorting of the fragments. This fixes the crash reported in PR34159.

https://bugs.llvm.org/show_bug.cgi?id=34159

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311217 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/split-global.ll