You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
529 B
10 lines
529 B
RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret32.s -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 suppress): _start
|
|
CHECK-CUSTOM: error: entry symbol not defined (pass --no-entry to suppress): foo
|
|
|
|
RUN: wasm-ld --no-entry -o %t.wasm %t.ret32.o
|