[PATCH] D18518: Add an IR Verifier check for orphaned DICompileUnits.
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 11:16:36 PDT 2016
aprantl created this revision.
aprantl added reviewers: dexonsmith, dblaikie.
aprantl added subscribers: llvm-commits, loladiro.
Add an IR Verifier check for orphaned DICompileUnits. A DICompileUnit that is not listed in llvm.dbg.cu will cause assertion failures and/or crashes in the backend. The Verifier should reject this.
http://reviews.llvm.org/D18518
Files:
lib/IR/Verifier.cpp
test/Assembler/dicompileunit.ll
test/Transforms/LoopIdiom/debug-line.ll
test/Verifier/dbg-orphaned-compileunit.ll
tools/bugpoint/CrashDebugger.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18518.51808.patch
Type: text/x-patch
Size: 5546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160328/a9e0143b/attachment.bin>
More information about the llvm-commits
mailing list