[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / wasm / function-index.test
blob0b32551c5af68eae5d0108b9fc6b1e63d10bf035
1 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret32.s -o %t.ret32.o
2 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret64.s -o %t.ret64.o
3 # RUN: wasm-ld -r -o %t.wasm %t.ret32.o %t.ret64.o
4 # RUN: obj2yaml %t.wasm | FileCheck %s
6 CHECK: Sections:
7 CHECK:   - Type:            TYPE
8 CHECK:     Signatures:
9 CHECK:       - Index:           0
10 CHECK:         ParamTypes:
11 CHECK:           - F32
12 CHECK:         ReturnTypes:
13 CHECK:           - I32
14 CHECK:       - Index:           1
15 CHECK:         ParamTypes:
16 CHECK:           - F64
17 CHECK:         ReturnTypes:
18 CHECK:           - I64
19 CHECK: - Type:            FUNCTION
20 CHECK:   FunctionTypes: [ 0, 1 ]