| Index: tests_lit/reader_tests/nacl-fake-intrinsic.ll
|
| diff --git a/tests_lit/reader_tests/nacl-fake-intrinsic.ll b/tests_lit/reader_tests/nacl-fake-intrinsic.ll
|
| index d325383c050a62900201fb4499d46b96e4a82999..c827fe87649a4ddfbb000cdcd3a7f68b2ab3b2ad 100644
|
| --- a/tests_lit/reader_tests/nacl-fake-intrinsic.ll
|
| +++ b/tests_lit/reader_tests/nacl-fake-intrinsic.ll
|
| @@ -3,11 +3,26 @@
|
| ; TODO(kschimpf) Find way to run this through p2i. Note: Can't do this
|
| ; currently because run-llvm2ice.py raises exception on error,
|
| ; and output is lost.
|
| -; RUN: llvm-as < %s | pnacl-freeze -allow-local-symbol-tables \
|
| -; RUN: | not %llvm2ice -notranslate -verbose=inst \
|
| -; RUN: -allow-pnacl-reader-error-recovery \
|
| -; RUN: -allow-local-symbol-tables \
|
| -; RUN: | FileCheck %s
|
| +; RUN: %if --need=allow_dump --command \
|
| +; RUN: llvm-as < %s \
|
| +; RUN: | %if --need=allow_dump --command \
|
| +; RUN: pnacl-freeze -allow-local-symbol-tables \
|
| +; RUN: | %if --need=allow_dump --command \
|
| +; RUN: not %llvm2ice -notranslate -verbose=inst -build-on-read \
|
| +; RUN: -allow-pnacl-reader-error-recovery \
|
| +; RUN: -allow-local-symbol-tables \
|
| +; RUN: | %if --need=allow_dump --command \
|
| +; RUN: FileCheck %s
|
| +
|
| +; RUN: %if --need=no_dump --command \
|
| +; RUN: llvm-as < %s \
|
| +; RUN: | %if --need=no_dump --command \
|
| +; RUN: pnacl-freeze -allow-local-symbol-tables \
|
| +; RUN: | %if --need=no_dump --command \
|
| +; RUN: not %llvm2ice -notranslate -verbose=inst -build-on-read \
|
| +; RUN: -allow-pnacl-reader-error-recovery -allow-local-symbol-tables \
|
| +; RUN: | %if --need=no_dump --command \
|
| +; RUN: FileCheck --check-prefix=MIN %s
|
|
|
| declare i32 @llvm.fake.i32(i32)
|
|
|
| @@ -16,5 +31,6 @@ define i32 @testFake(i32 %v) {
|
| ret i32 %r
|
| }
|
|
|
| -; CHECK: Error: (218:6) Invalid PNaCl intrinsic call to llvm.fake.i32
|
| +; CHECK: Error: ({{.*}}) Invalid PNaCl intrinsic call to llvm.fake.i32
|
| +; MIN: Error: ({{.*}}) Invalid input record
|
|
|
|
|