There's a logic bug that causes the function to run the verifier twice if LTOStripInvalidDebugInfo is true.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This is trivially correct, but I wonder whether we can fix this (i.e. feed a broken module, make sure we verify it and find it broken only once).
Comment Actions
s/fix/test/
Something similar to what we do in http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=295537
Comment Actions
I don't think that is going to work, because of the report_fatal_error that also exits.