[lld] [WebAssembly] Generate a call to __wasm_apply_global_tls_relocs in __wasm_init_memory (PR #149832)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 5 04:56:44 PDT 2025
Arshia001 wrote:
But this creates a second problem: `__wasm_apply_tls_relocs` is a hidden symbol, and can't be exported via `--export` AFAIK. I assume the fix there would be to make the symbol `WASM_SYMBOL_VISIBILITY_DEFAULT | WASM_SYMBOL_EXPORTED`, so it can be exported and called by linkers? That's working for me locally, so I can push it if you think it's correct in principle.
https://github.com/llvm/llvm-project/pull/149832
More information about the llvm-commits
mailing list