forked from OSchip/llvm-project
10 lines
493 B
Plaintext
10 lines
493 B
Plaintext
RUN: llc -filetype=obj %p/Inputs/ret32.ll -o %t.ret32.o
|
|
RUN: not wasm-ld -o %t.wasm %t.ret32.o 2>&1 | FileCheck %s
|
|
RUN: not wasm-ld --allow-undefined -o %t.wasm %t.ret32.o 2>&1 | FileCheck %s
|
|
RUN: not wasm-ld -entry=foo -o %t.wasm %t.ret32.o 2>&1 | FileCheck %s -check-prefix=CHECK-CUSTOM
|
|
|
|
CHECK: error: entry symbol not defined (pass --no-entry to supress): _start
|
|
CHECK-CUSTOM: error: entry symbol not defined (pass --no-entry to supress): foo
|
|
|
|
RUN: wasm-ld --no-entry -o %t.wasm %t.ret32.o
|