[PATCH] D29310: Fix DwarfDebug assertions with LTO mixing -g and -gmlt
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 11:39:28 PST 2017
probinson updated this revision to Diff 86687.
probinson added a comment.
Reduce patch to just the DbgValues.empty() assertion; the other will become a new review.
Use dblaikie's simpler test case.
I've just deleted the assertion, because we call DebugHandlerBase::endFunction() shortly after this, which will clear DbgValues for us.
https://reviews.llvm.org/D29310
Files:
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/dbg-value-g-gmlt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29310.86687.patch
Type: text/x-patch
Size: 5238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170201/c5c62a78/attachment.bin>
More information about the llvm-commits
mailing list