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.
21 lines
686 B
21 lines
686 B
4 months ago
|
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret32.s -o %t.ret32.o
|
||
|
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret64.s -o %t.ret64.o
|
||
|
# RUN: wasm-ld -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: ParamTypes:
|
||
|
CHECK: - F32
|
||
|
CHECK: ReturnTypes:
|
||
|
CHECK: - I32
|
||
|
CHECK: - Index: 1
|
||
|
CHECK: ParamTypes:
|
||
|
CHECK: - F64
|
||
|
CHECK: ReturnTypes:
|
||
|
CHECK: - I64
|
||
|
CHECK: - Type: FUNCTION
|
||
|
CHECK: FunctionTypes: [ 0, 1 ]
|