Files
clang-p2996/lld/test/wasm/Inputs/ctor-ctor.s
Dan Gohman 950ae43091 [WebAssembly] GC constructor functions in otherwise unused archive objects
This allows `__wasilibc_populate_libpreopen` to be GC'd in more cases
where it isn't needed, including when linked from Rust's libstd.

Differential Revision: https://reviews.llvm.org/D85062
2020-10-12 18:54:57 -07:00

16 lines
243 B
ArmAsm

.section .text.def,"",@
.globl def
def:
.functype def () -> ()
end_function
.section .text.test_ctor,"",@
.globl test_ctor
test_ctor:
.functype test_ctor () -> ()
end_function
.section .init_array,"",@
.p2align 2
.int32 test_ctor