summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/DebugInfo/debugify.ll2
-rw-r--r--llvm/tools/opt/Debugify.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/DebugInfo/debugify.ll b/llvm/test/DebugInfo/debugify.ll
index 83e9ea6c9e5..07c62533fad 100644
--- a/llvm/test/DebugInfo/debugify.ll
+++ b/llvm/test/DebugInfo/debugify.ll
@@ -94,7 +94,7 @@ define i32 @boom() {
; CHECK-FAIL: WARNING: Missing line 2
; CHECK-FAIL: WARNING: Missing line 3
; CHECK-FAIL: WARNING: Missing line 4
-; CHECK-FAIL: ERROR: Missing variable 1
+; CHECK-FAIL: WARNING: Missing variable 1
; CHECK-FAIL: CheckModuleDebugify: FAIL
; PASS: CheckModuleDebugify: PASS
diff --git a/llvm/tools/opt/Debugify.cpp b/llvm/tools/opt/Debugify.cpp
index 32e0023b153..e81facf7988 100644
--- a/llvm/tools/opt/Debugify.cpp
+++ b/llvm/tools/opt/Debugify.cpp
@@ -226,8 +226,7 @@ bool checkDebugifyMetadata(Module &M,
dbg() << "WARNING: Missing line " << Idx + 1 << "\n";
for (unsigned Idx : MissingVars.set_bits())
- dbg() << "ERROR: Missing variable " << Idx + 1 << "\n";
- HasErrors |= MissingVars.count() > 0;
+ dbg() << "WARNING: Missing variable " << Idx + 1 << "\n";
dbg() << Banner;
if (!NameOfWrappedPass.empty())
OpenPOWER on IntegriCloud