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

Sam Clegg via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 17 15:01:26 PST 2026


================
@@ -827,6 +830,10 @@ static void checkOptions(opt::InputArgList &args) {
     if (ctx.arg.tableBase)
       error("--table-base may not be used with -shared/-pie");
   }
+
+  if (ctx.arg.sharedMemory && ctx.arg.componentModelThreadContext) {
+    error("--shared-memory is incompatible with component model thread context intrinsics");
----------------
sbc100 wrote:

It sounds like eventually this will not be true right?   And real shared memory multi-threading is the goal?   In which maybe add a `yet` in here?

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


More information about the cfe-commits mailing list