[compiler-rt] [libcxx] [libcxxabi] [libunwind] [libunwind][libcxx][libcxxabi][compiler-rt-builtins] Fix Exception Handling build for wasm (PR #79667)

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 1 09:04:55 PDT 2024


================
@@ -12,6 +12,7 @@
 #include <libunwind.h>
 
 #include "config.h"
+#ifndef __wasm__
----------------
EricWF wrote:

The problem is that it makes the file a lot harder to read, each `#ifdef` block enclosed within becomes harder to read and reason about its scope. 

Though I see that _maybe_ WASM uses the log functions declared at the bottom? Do you know if it does?





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


More information about the cfe-commits mailing list