[clang] [lld] [llvm] [WebAssembly] Cooperative threading for WASIP3 (PR #200855)
Sam Clegg via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 5 09:52:44 PDT 2026
================
@@ -174,10 +179,10 @@ void wasm::Linker::ConstructJob(Compilation &C, const JobAction &JA,
AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA);
- if (WantsLibcallThreadContext(ToolChain.getTriple(), Args))
- CmdArgs.push_back("--libcall-thread-context");
+ if (WantsCooperativeMultithreading(ToolChain.getTriple(), Args))
+ CmdArgs.push_back("--cooperative-multithreading");
----------------
sbc100 wrote:
How about just just `--cooperative-threading` / WantsCooperativeThreading`?
https://github.com/llvm/llvm-project/pull/200855
More information about the cfe-commits
mailing list