brintos

brintos / llvm-project-archived public Read only

0
0
Text · 529 B · a5bca16 Raw
10 lines · plain
1RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret32.s -o %t.ret32.o2RUN: not wasm-ld -o %t.wasm %t.ret32.o 2>&1 | FileCheck %s3RUN: not wasm-ld --allow-undefined -o %t.wasm %t.ret32.o 2>&1 | FileCheck %s4RUN: not wasm-ld -entry=foo -o %t.wasm %t.ret32.o 2>&1 | FileCheck %s -check-prefix=CHECK-CUSTOM5 6CHECK: error: entry symbol not defined (pass --no-entry to suppress): _start7CHECK-CUSTOM: error: entry symbol not defined (pass --no-entry to suppress): foo8 9RUN: wasm-ld --no-entry -o %t.wasm %t.ret32.o10