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
15 lines
264 B
ArmAsm
15 lines
264 B
ArmAsm
.section .text.lib_func,"",@
|
|
.globl lib_func
|
|
lib_func:
|
|
.functype lib_func () -> ()
|
|
end_function
|
|
|
|
.section .text.unused_lib_func,"",@
|
|
.globl unused_lib_func
|
|
unused_lib_func:
|
|
.functype unused_lib_func () -> ()
|
|
call def
|
|
end_function
|
|
|
|
.functype def () -> ()
|