[PATCH] D41832: LLParser: do not verify LLVM module

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 22 10:16:46 PST 2018


arsenm added inline comments.


================
Comment at: lib/IR/Verifier.cpp:214-216
+    // If TreatBrokenDebugInfoAsError is set, ignore non-DebugInfo errors.
+    if (!TreatBrokenDebugInfoAsError)
+      return;
----------------
This seems to just be stopping all error messages?


================
Comment at: test/Verifier/llvm.dbg.intrinsic-dbg-attachment.ll:1
-; RUN: not llvm-as -disable-output <%s 2>&1 | FileCheck %s
+; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s
 define void @foo() {
----------------
This is a test regression


https://reviews.llvm.org/D41832





More information about the llvm-commits mailing list