[libcxx] [libcxxabi] [libunwind] [llvm] libcxx: enable tests against wasi-libc (PR #215384)

Nikolas Klauser via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 01:22:46 PDT 2026


================
@@ -71,17 +71,16 @@
 #endif
 
 #if defined(_LIBUNWIND_HIDE_SYMBOLS)
-  // The CMake file passes -fvisibility=hidden to control ELF/Mach-O visibility.
-  #define _LIBUNWIND_EXPORT
-  #define _LIBUNWIND_HIDDEN
+// The CMake file passes -fvisibility=hidden to control ELF/Mach-O visibility.
+#define _LIBUNWIND_EXPORT
+#define _LIBUNWIND_HIDDEN
+#elif !defined(__ELF__) && !defined(__MACH__) && !defined(_AIX) &&             \
----------------
philnik777 wrote:

This seems like it should really just be `defined(_WIN32)`.

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


More information about the llvm-commits mailing list