[PATCH] D64531: [NFC] Adjust "invalid.ll.bc" tests to check for AttrKind #255 not #63
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 18:14:34 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL365722: [NFC] Adjust "invalid.ll.bc" tests to check for AttrKind #255 not #63 (authored by jdoerfert, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D64531?vs=209067&id=209109#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64531/new/
https://reviews.llvm.org/D64531
Files:
llvm/trunk/test/Bindings/llvm-c/Inputs/invalid.ll.bc
llvm/trunk/test/Bindings/llvm-c/invalid-bitcode.test
llvm/trunk/test/Bitcode/invalid.ll
llvm/trunk/test/Bitcode/invalid.ll.bc
llvm/trunk/test/LTO/X86/Inputs/invalid.ll.bc
llvm/trunk/test/LTO/X86/invalid.ll
Index: llvm/trunk/test/Bitcode/invalid.ll
===================================================================
--- llvm/trunk/test/Bitcode/invalid.ll
+++ llvm/trunk/test/Bitcode/invalid.ll
@@ -1,6 +1,6 @@
; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
-; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Unknown attribute kind (63)
+; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Unknown attribute kind (255)
; invalid.ll.bc has an invalid attribute number.
; The test checks that LLVM reports the error and doesn't access freed memory
Index: llvm/trunk/test/LTO/X86/invalid.ll
===================================================================
--- llvm/trunk/test/LTO/X86/invalid.ll
+++ llvm/trunk/test/LTO/X86/invalid.ll
@@ -1,4 +1,4 @@
; RUN: not llvm-lto %S/Inputs/invalid.ll.bc 2>&1 | FileCheck %s
-; CHECK: llvm-lto{{.*}}: error loading file '{{.*}}/Inputs/invalid.ll.bc': Unknown attribute kind (63)
+; CHECK: llvm-lto{{.*}}: error loading file '{{.*}}/Inputs/invalid.ll.bc': Unknown attribute kind (255)
Index: llvm/trunk/test/Bindings/llvm-c/invalid-bitcode.test
===================================================================
--- llvm/trunk/test/Bindings/llvm-c/invalid-bitcode.test
+++ llvm/trunk/test/Bindings/llvm-c/invalid-bitcode.test
@@ -1,13 +1,13 @@
; RUN: not llvm-c-test --module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck %s
; RUN: not llvm-c-test --lazy-module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck %s
-CHECK: Error parsing bitcode: Unknown attribute kind (63)
+CHECK: Error parsing bitcode: Unknown attribute kind (255)
; RUN: not llvm-c-test --new-module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck --check-prefix=NEW %s
; RUN: not llvm-c-test --lazy-new-module-dump < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck --check-prefix=NEW %s
-NEW: Error with new bitcode parser: Unknown attribute kind (63)
+NEW: Error with new bitcode parser: Unknown attribute kind (255)
; RUN: llvm-c-test --test-diagnostic-handler < %S/Inputs/invalid.ll.bc 2>&1 | FileCheck --check-prefix=DIAGNOSTIC %s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64531.209109.patch
Type: text/x-patch
Size: 2048 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190711/6cc97329/attachment.bin>
More information about the llvm-commits
mailing list