[llvm] 60d0004 - [Cygwin] Define LLVM_ABI for Cygwin (#143222)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 13 13:44:12 PDT 2025
Author: Tomohiro Kashiwada
Date: 2025-06-13T13:44:08-07:00
New Revision: 60d000496b5485c89c51e64b2b339210d48263be
URL: https://github.com/llvm/llvm-project/commit/60d000496b5485c89c51e64b2b339210d48263be
DIFF: https://github.com/llvm/llvm-project/commit/60d000496b5485c89c51e64b2b339210d48263be.diff
LOG: [Cygwin] Define LLVM_ABI for Cygwin (#143222)
592243c1cb3ea53b34033132a87b0d14af9d1079 should be also applied to
LLVM_ABI.
Added:
Modified:
llvm/include/llvm/Support/Compiler.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h
index f6bc05011e3c3..0de789ec68c49 100644
--- a/llvm/include/llvm/Support/Compiler.h
+++ b/llvm/include/llvm/Support/Compiler.h
@@ -209,7 +209,7 @@
#define LLVM_ABI_FRIEND LLVM_ABI
#define LLVM_ABI_EXPORT __declspec(dllexport)
#elif defined(__ELF__) || defined(__MINGW32__) || defined(_AIX) || \
- defined(__MVS__)
+ defined(__MVS__) || defined(__CYGWIN__)
#define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
#define LLVM_ABI_FRIEND
#define LLVM_TEMPLATE_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
More information about the llvm-commits
mailing list