[PATCH] D20629: Port the strip-invalid-debuginfo logic to the legacy verifier pass, too.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed May 25 13:41:25 PDT 2016


joker.eph added inline comments.

================
Comment at: lib/IR/Verifier.cpp:4475
@@ -4475,3 +4474,3 @@
     initializeVerifierLegacyPassPass(*PassRegistry::getPassRegistry());
   }
 
----------------
It is not clear to me why `new VerifierLegacyPass()` has a different behavior with respect to debug info compared to `new VerifierLegacyPass(true)` or  `new VerifierLegacyPass(false)` (these last two will have the same behavior in face of debug info.


http://reviews.llvm.org/D20629





More information about the llvm-commits mailing list