OSDN Git Service

DwarfCompileUnit: Fix another assertion failure on malformed input
authorAdrian Prantl <aprantl@apple.com>
Fri, 4 May 2018 16:10:43 +0000 (16:10 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 4 May 2018 16:10:43 +0000 (16:10 +0000)
commita244d9e3deb5e2043c9c1bcba62955dc75a1bd9d
tree62c8e3b49605f23d8933bc6b6898270df95dd9f3
parent60248da1b672f5eaa3d334993a252ad4f8c3a507
DwarfCompileUnit: Fix another assertion failure on malformed input
that is not rejected by the Verifier.

Thanks to Björn Pettersson for providing a reproducer!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331535 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfExpression.h
test/DebugInfo/X86/global-expression.ll