[lld] [WebAssembly] Generate a call to __wasm_apply_global_tls_relocs in __wasm_init_memory (PR #149832)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 22 09:34:17 PDT 2025
sbc100 wrote:
One probably the steps you Delibes above is that it depends on `__wasm_apply_tls_relocs` being exported, so that the host can call it. I though you mentioned about that this does not work?
IIRC `__wasm_init_tls` was disigned to be the run-called symbols and `__wasm_apply_tls_relocs` was designed to be an internal sub-routine that was only called by `__wasm_init_tls`
https://github.com/llvm/llvm-project/pull/149832
More information about the llvm-commits
mailing list