bolt/deps/llvm-18.1.8/lld/test/wasm/Inputs/ctor-setup-call-def.s
2025-02-14 19:21:04 +01:00

21 lines
397 B
ArmAsm

# Like Inputs/ctor-setup.s, except it calls `def` instead of `lib_func`,
# so it pulls in the .o file containing `ctor`.
.functype def () -> ()
.section .text._start,"",@
.globl _start
_start:
.functype _start () -> ()
end_function
.section .text.setup,"",@
.globl setup
setup:
.functype setup () -> ()
call def
end_function
.section .init_array,"",@
.p2align 2
.int32 setup