Invoking lld as ld.lld, ld.ld64, lld-link or wasm-ld is preferred than invoking lld as lld and pass an -flavor option. We have "lld" file mostly for historical reasons. Differential Revision: https://reviews.llvm.org/D43407 llvm-svn: 325405
11 lines
419 B
Plaintext
11 lines
419 B
Plaintext
RUN: llc -filetype=obj %p/Inputs/ret32.ll -o %t.ret32.o
|
|
RUN: not wasm-ld --check-signatures -o %t.wasm %t.ret32.o 2>&1 | FileCheck %s
|
|
|
|
CHECK: error: undefined symbol: _start
|
|
|
|
RUN: not wasm-ld --check-signatures -entry=foo -o %t.wasm %t.ret32.o 2>&1 | FileCheck %s -check-prefix=CHECK-CUSTOM
|
|
|
|
CHECK-CUSTOM: error: undefined symbol: foo
|
|
|
|
RUN: wasm-ld --check-signatures -entry=foo --allow-undefined -o %t.wasm %t.ret32.o
|