[clang] [compiler-rt] [lld] [llvm] [Coverage][WebAssembly] Add initial support for WebAssembly/WASI (PR #111332)

Derek Schuff via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 7 09:38:58 PDT 2024


================
@@ -584,7 +584,7 @@ void llvm_reset_counters(void) {
   }
 }
 
-#if !defined(_WIN32)
+#if !defined(_WIN32) && !defined(__wasi__)
----------------
dschuff wrote:

This probably makes sense to make `__wasm__` instead of just `__wasi__` since Emscripten also lacks fork.

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


More information about the cfe-commits mailing list