https://github.com/yerzham updated https://github.com/llvm/llvm-project/pull/168449
>From 0f23156f872061bd983a84d164352ef9fec71b36 Mon Sep 17 00:00:00 2001 From: Yerzhan Zhamashev <[email protected]> Date: Wed, 21 Jan 2026 16:35:08 +0200 Subject: [PATCH] libunwind: exclude __declspec from wasm build --- libunwind/src/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libunwind/src/config.h b/libunwind/src/config.h index f017403fa2234..ba45aee156bd5 100644 --- a/libunwind/src/config.h +++ b/libunwind/src/config.h @@ -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) && \ + !defined(__wasm__) #define _LIBUNWIND_EXPORT __declspec(dllexport) #define _LIBUNWIND_HIDDEN #else _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
