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
19 lines
607 B
Plaintext
19 lines
607 B
Plaintext
# RUN: llc -filetype=obj %p/Inputs/ret32.ll -o %t.ret32.o
|
|
# RUN: llc -filetype=obj %p/Inputs/ret64.ll -o %t.ret64.o
|
|
# RUN: wasm-ld --check-signatures -r -o %t.wasm %t.ret32.o %t.ret64.o
|
|
# RUN: obj2yaml %t.wasm | FileCheck %s
|
|
|
|
CHECK: Sections:
|
|
CHECK: - Type: TYPE
|
|
CHECK: Signatures:
|
|
CHECK: - Index: 0
|
|
CHECK: ReturnType: I32
|
|
CHECK: ParamTypes:
|
|
CHECK: - F32
|
|
CHECK: - Index: 1
|
|
CHECK: ReturnType: I64
|
|
CHECK: ParamTypes:
|
|
CHECK: - F64
|
|
CHECK: - Type: FUNCTION
|
|
CHECK: FunctionTypes: [ 0, 1 ]
|