[clang] [lld] [llvm] [lld][WebAssembly] WASIP3 and component model threading support (PR #175800)

Sam Clegg via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 17 09:13:14 PST 2026


================
@@ -108,6 +109,9 @@ class LLVM_LIBRARY_VISIBILITY WebAssemblyTargetInfo : public TargetInfo {
       PtrDiffType = SignedLong;
       IntPtrType = SignedLong;
     }
+    if (T.getOSName() == "wasip3") {
+      HasComponentModelThreadContext = true;
+    }
----------------
sbc100 wrote:

I wonder if this is the right place to be enabling/disabling wasm features (i.e. I don't see any wasm features above).  

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


More information about the cfe-commits mailing list