[PATCH] D64537: [WebAssembly] Implement thread-local storage (local-exec model)
Guanzhong Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 15 18:24:01 PDT 2019
quantum added a comment.
In D64537#1586809 <https://reviews.llvm.org/D64537#1586809>, @aheejin wrote:
> Where should we call `__wasm_init_tls`, in case within a library?
Dynamic libraries are not supported by the local-exec TLS model. Support will be implemented later. The idea is that we'll have an `__ensure_tls_initialized` function that will `malloc` and `__wasm_init_tls` if `__tls_base == 0`.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits