[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
Mon Jul 21 16:52:00 PDT 2025
https://github.com/sbc100 commented:
According to the comment for createApplyGlobalTLSRelocationsFunction it cannot be called during the start function: (https://github.com/llvm/llvm-project/blob/6fa759b465a681c9c2bea046a65e2f8c5a9f4104/lld/wasm/Writer.cpp#L1520-L1523.
I don't remember exactly why this is...
https://github.com/llvm/llvm-project/pull/149832
More information about the llvm-commits
mailing list