[PATCH] D130053: [WebAssembly] Use `localexec` as default TLS model for non-Emscripten targets

Petr Penzin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 13:06:20 PDT 2022


penzn added a comment.

> Because TLS data is stored a "passive" segment which has to be loaded using the `memory.init` instruction.  (Both passive segments and this instruction are part of the bulk-memory proposal).

Thanks! Should something about this added to tool conventions? I understand why may be it wasn't - this is internal to how compiler can implement TLS, not "handshake" between tools.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130053



More information about the llvm-commits mailing list