diff options
Diffstat (limited to 'lld/test/wasm/undefined.ll')
-rw-r--r-- | lld/test/wasm/undefined.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/test/wasm/undefined.ll b/lld/test/wasm/undefined.ll index a74dd6d66de..bdbb11c3034 100644 --- a/lld/test/wasm/undefined.ll +++ b/lld/test/wasm/undefined.ll @@ -1,17 +1,17 @@ ; RUN: llc -filetype=obj %s -o %t.o -; RUN: wasm-ld --check-signatures --allow-undefined -o %t.wasm %t.o +; RUN: wasm-ld --allow-undefined -o %t.wasm %t.o ; Fails due to undefined 'foo' and also 'baz' -; RUN: not wasm-ld --check-signatures --undefined=baz -o %t.wasm %t.o 2>&1 | FileCheck %s +; RUN: not wasm-ld --undefined=baz -o %t.wasm %t.o 2>&1 | FileCheck %s ; CHECK: error: {{.*}}.o: undefined symbol: foo ; CHECK: error: undefined symbol: baz ; Succeeds if we pass a file containing 'foo' as --allow-undefined-file. ; RUN: echo 'foo' > %t.txt -; RUN: wasm-ld --check-signatures --allow-undefined-file=%t.txt -o %t.wasm %t.o +; RUN: wasm-ld --allow-undefined-file=%t.txt -o %t.wasm %t.o ; Succeeds even if a missing symbol is added via --export -; RUN: wasm-ld --check-signatures --allow-undefined --export=xxx -o %t.wasm %t.o +; RUN: wasm-ld --allow-undefined --export=xxx -o %t.wasm %t.o target triple = "wasm32-unknown-unknown-wasm" |