File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 11# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.lib.o %p/Inputs/ret32.s
22# RUN: wasm-ld -m wasm32 --experimental-pic -shared --no-entry %t.lib.o -o %t.lib.so
3- # RUN: llvm-mc -filetype=obj -mattr=+reference-types - triple=wasm32-unknown-unknown -o %t.o %s
4- # RUN: wasm-ld -m wasm32 --features=mutable-globals - Bdynamic --export-table --growable-table --export-memory --export=__stack_pointer --export=__heap_base --export=__heap_end --entry=_start %t.o %t.lib.so -o %t.wasm
3+ # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
4+ # RUN: wasm-ld -m wasm32 -Bdynamic %t.o %t.lib.so -o %t.wasm
55# RUN: obj2yaml %t.wasm | FileCheck %s
66
7- .tabletype __indirect_function_table, funcref
8- .globaltype __memory_base, i32, immutable
9-
107 .functype ret32 (f32) -> (i32)
118 .functype _start () -> ()
129 .globl _start
1310 .type _start,@function
1411_start:
1512 .functype _start () -> ()
16- f32.const 0 .0
17- global.get __memory_base
18- i32.const f_p@MBREL
19- i32.add
20- i32.load 0
21- call_indirect __indirect_function_table, (f32) -> (i32)
13+ i32.const f_p
2214 drop
2315 end_function
2416
You can’t perform that action at this time.
0 commit comments