diff options
author | Vedant Kumar <vsk@apple.com> | 2018-07-02 17:08:36 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2018-07-02 17:08:36 +0000 |
commit | 9b6c096fb56310591819705a671b8edee4d50271 (patch) | |
tree | 5574de6451b23317160fadc1d6540de33adeffb8 | |
parent | ac193d4b5cca5ada4f27897300d53f7e521cd473 (diff) | |
download | bcm5719-llvm-9b6c096fb56310591819705a671b8edee4d50271.tar.gz bcm5719-llvm-9b6c096fb56310591819705a671b8edee4d50271.zip |
Tighten up a test for -check-debugify, NFC
Use an -implicit-check-not to make sure an error which should not occur
in fact does not occur before the first CHECK line.
Suggested by Paul Robinson in post-commit feedback for r335897.
llvm-svn: 336123
-rw-r--r-- | llvm/test/DebugInfo/debugify-report-missing-locs-only.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/debugify-report-missing-locs-only.ll b/llvm/test/DebugInfo/debugify-report-missing-locs-only.ll index c559b9656a5..43682768c58 100644 --- a/llvm/test/DebugInfo/debugify-report-missing-locs-only.ll +++ b/llvm/test/DebugInfo/debugify-report-missing-locs-only.ll @@ -1,11 +1,10 @@ -; RUN: opt -check-debugify < %s -S -o - 2>&1 | FileCheck %s +; RUN: opt -check-debugify < %s -S -o - 2>&1 | FileCheck %s -implicit-check-not "ERROR: Instruction with empty DebugLoc in function bar" ; CHECK: ERROR: Instruction with empty DebugLoc in function foo -- ret void define void @foo() !dbg !6 { ret void } -; CHECK-NOT: ERROR: Instruction with empty DebugLoc in function bar define i32 @bar() !dbg !9 { ret i32 0, !dbg !15 } |