[AArch64][SME2] Add multi-vector saturating doubling multiply high intrinsics
[llvm-project.git] / lld / test / wasm / export-all.s
blob617dcc4a54d8ba6eabc044ecb13c5f2dea4661be
1 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
2 # RUN: wasm-ld --export-all -o %t.wasm %t.o
3 # RUN: obj2yaml %t.wasm | FileCheck %s
5 .globaltype __stack_pointer, i32
7 .globl _start
9 _start:
10 .functype _start () -> ()
11 i32.const 3
12 global.set __stack_pointer
13 end_function
15 foo:
16 .functype foo () -> (i32)
17 i32.const 42
18 end_function
20 # CHECK: - Type: EXPORT
21 # CHECK-NEXT: Exports:
22 # CHECK-NEXT: - Name: memory
23 # CHECK-NEXT: Kind: MEMORY
24 # CHECK-NEXT: Index: 0
25 # CHECK-NEXT: - Name: __wasm_call_ctors
26 # CHECK-NEXT: Kind: FUNCTION
27 # CHECK-NEXT: Index: 0
28 # CHECK-NEXT: - Name: _start
29 # CHECK-NEXT: Kind: FUNCTION
30 # CHECK-NEXT: Index: 1
31 # CHECK-NEXT: - Name: __dso_handle
32 # CHECK-NEXT: Kind: GLOBAL
33 # CHECK-NEXT: Index: 1
34 # CHECK-NEXT: - Name: __data_end
35 # CHECK-NEXT: Kind: GLOBAL
36 # CHECK-NEXT: Index: 2
37 # CHECK-NEXT: - Name: __stack_low
38 # CHECK-NEXT: Kind: GLOBAL
39 # CHECK-NEXT: Index: 3
40 # CHECK-NEXT: - Name: __stack_high
41 # CHECK-NEXT: Kind: GLOBAL
42 # CHECK-NEXT: Index: 4
43 # CHECK-NEXT: - Name: __global_base
44 # CHECK-NEXT: Kind: GLOBAL
45 # CHECK-NEXT: Index: 5
46 # CHECK-NEXT: - Name: __heap_base
47 # CHECK-NEXT: Kind: GLOBAL
48 # CHECK-NEXT: Index: 6
49 # CHECK-NEXT: - Name: __heap_end
50 # CHECK-NEXT: Kind: GLOBAL
51 # CHECK-NEXT: Index: 7
52 # CHECK-NEXT: - Name: __memory_base
53 # CHECK-NEXT: Kind: GLOBAL
54 # CHECK-NEXT: Index: 8
55 # CHECK-NEXT: - Name: __table_base
56 # CHECK-NEXT: Kind: GLOBAL
57 # CHECK-NEXT: Index: 9