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`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64537/new/

https://reviews.llvm.org/D64537



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to