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

8 lines
109 B
ArmAsm

.globl _start
_start:
.functype _start () -> ()
call lib_func
end_function
.functype lib_func () -> ()