[libunwind] [libunwind] Exlcude wasm build from using __declspec export (PR #168449)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 10 23:03:54 PDT 2026


================
@@ -75,7 +75,8 @@
   #define _LIBUNWIND_EXPORT
   #define _LIBUNWIND_HIDDEN
 #else
-  #if !defined(__ELF__) && !defined(__MACH__) && !defined(_AIX)
+  #if !defined(__ELF__) && !defined(__MACH__) && !defined(_AIX) &&             \
----------------
MaskRay wrote:

Perhaps `__has_declspec_attribute(dllexport)`  @mstorsjo 

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


More information about the cfe-commits mailing list