summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bindings/llvm-c
diff options
context:
space:
mode:
authorJohannes Doerfert <jdoerfert@anl.gov>2019-07-11 01:14:30 +0000
committerJohannes Doerfert <jdoerfert@anl.gov>2019-07-11 01:14:30 +0000
commit24830ea7108197c7880939aa2e32db3aa4bc6284 (patch)
tree32770cc3246259b844292338eca111b12da7bdab /llvm/test/Bindings/llvm-c
parent6765aa552a83bed0276a2ef0d7672903b045dc8c (diff)
downloadbcm5719-llvm-24830ea7108197c7880939aa2e32db3aa4bc6284.tar.gz
bcm5719-llvm-24830ea7108197c7880939aa2e32db3aa4bc6284.zip
[NFC] Adjust "invalid.ll.bc" tests to check for AttrKind #255 not #63
We are about to add enum attributes with AttrKind numbers >= 63. This means we cannot use AttrKind #63 to test for an invalid attribute number in the RAW format anymore. This patch changes the number of an invalid attribute to #255. There is no change to the character of the tests. Differential Revision: https://reviews.llvm.org/D64531 llvm-svn: 365722
Diffstat (limited to 'llvm/test/Bindings/llvm-c')
-rw-r--r--llvm/test/Bindings/llvm-c/Inputs/invalid.ll.bcbin688 -> 688 bytes
-rw-r--r--llvm/test/Bindings/llvm-c/invalid-bitcode.test4
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Bindings/llvm-c/Inputs/invalid.ll.bc b/llvm/test/Bindings/llvm-c/Inputs/invalid.ll.bc
index c6753320ae3..6d5a0bfd206 100644
--- a/llvm/test/Bindings/llvm-c/Inputs/invalid.ll.bc
+++ b/llvm/test/Bindings/llvm-c/Inputs/invalid.ll.bc
Binary files differ
diff --git a/llvm/test/Bindings/llvm-c/invalid-bitcode.test b/llvm/test/Bindings/llvm-c/invalid-bitcode.test
index c6aaaeb71fe..cd81b584974 100644
--- a/llvm/test/Bindings/llvm-c/invalid-bitcode.test
+++ b/llvm/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
OpenPOWER on IntegriCloud