[lld] [lld][WebAssembly] Error on TLS relocations against shared library symbols (PR #229464)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 6 13:47:28 PDT 2026


================
@@ -29,7 +29,7 @@ tls1:
   .globl  _start
 _start:
   .functype _start () -> ()
-  i32.const tls1 at TLSREL
+  global.get tls1 at GOT@TLS
----------------
sbc100 wrote:

Yup, you cannot refer to a non-DSO tls var like this..

https://github.com/llvm/llvm-project/pull/229464


More information about the llvm-commits mailing list