[PATCH] D64537: [WebAssembly] Implement thread-local storage (local-exec model)

Guanzhong Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 13:29:55 PDT 2019


quantum added a comment.

@sbc100 As for `__tls_base` being immutable, I am not sure how this will interact with dynamic linking once we implement it. On native platforms, `dlopen`ed libraries have their TLS blocks allocated on first use.

What exactly happens to `dlopen`ed libraries when there are already threads around? Would it be feasible to create TLS blocks for when the library is loaded on existing thread?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64537





More information about the llvm-commits mailing list