[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:06:53 PST 2026
================
@@ -120,6 +121,8 @@ void WebAssemblyTargetInfo::getTargetDefines(const LangOptions &Opts,
Builder.defineMacro("__wasm_tail_call__");
if (HasWideArithmetic)
Builder.defineMacro("__wasm_wide_arithmetic__");
+ if (HasComponentModelThreadContext)
+ Builder.defineMacro("__wasm_component_model_thread_context__");
----------------
sbc100 wrote:
See the note I added on the line just below here. i.e. does the feature need to be exposed via a C macro like this?
https://github.com/llvm/llvm-project/pull/175800
More information about the cfe-commits
mailing list