This is the other half of PR31437, split off from D29310.
Remove an assertion that doesn't hold when mixing -g and -gmlt compilation
units. Replace it with a morally equivalent assertion.
Paths
| Differential D29430
Fix an assert when mixing -g and -gmlt in LTO ClosedPublic Authored by probinson on Feb 1 2017, 3:15 PM.
Details Summary This is the other half of PR31437, split off from D29310. Remove an assertion that doesn't hold when mixing -g and -gmlt compilation
Diff Detail
Event TimelineComment Actions Not sure if the new assert is 'equivalent' (but as you & my past self (in that comment) say, the old one was wrong... so) Looks good - thanks for working up the test cases & investigation! This revision is now accepted and ready to land.Feb 1 2017, 3:30 PM Comment Actions I'll call it "related" in the commit log. The common idea is that new abstract variables should not appear in the absence of an abstract scope. Closed by commit rL293841: Remove an assertion that doesn't hold when mixing -g and -gmlt through (authored by probinson). · Explain WhyFeb 1 2017, 4:03 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 86744 llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/trunk/test/DebugInfo/X86/dbg-abstract-vars-g-gmlt.ll
|