Files
clang-p2996/lld/test/wasm/Inputs/start-lib1.s
Sam Clegg afdc4b1526 [lld][WebAssembly] Don't mark --start-lib/--end-lib files as live (#137714)
Without this change files in `--start-lib`/`--end-lib` groups were being
marked as live, which means there static constructors were being
included in the link.
2025-04-28 15:30:35 -07:00

15 lines
337 B
ArmAsm

.functype bar () -> ()
.globl foo
foo:
.functype foo () -> ()
call bar
end_function
# Static constructor inserted here to ensure the object file is not
# being processed as "live". Live object files have their static constructors
# preserved even if no symbol within is used.
.section .init_array,"",@
.p2align 2
.int32 foo