[llvm] Remove LLVM_ABI from members of RuntimeLibraryAnalysis (NFC) (PR #170850)
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 5 05:23:12 PST 2025
https://github.com/weliveindetail created https://github.com/llvm/llvm-project/pull/170850
The Windows build has been failing for me with:
```
error: attribute 'dllexport' cannot be applied to member of 'dllexport' class
```
>From 2ccb1f068f0b9b7c1065175a4f9dd95c78582eca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Gr=C3=A4nitz?= <stefan.graenitz at gmail.com>
Date: Fri, 5 Dec 2025 13:54:00 +0100
Subject: [PATCH] Remove LLVM_ABI from RuntimeLibraryAnalysis members (NFC)
Windows build has been failing with: error: attribute 'dllexport' cannot be applied to member of 'dllexport' class
---
llvm/include/llvm/Analysis/RuntimeLibcallInfo.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/llvm/include/llvm/Analysis/RuntimeLibcallInfo.h b/llvm/include/llvm/Analysis/RuntimeLibcallInfo.h
index 2d31c8aa6301b..609568ebc21a8 100644
--- a/llvm/include/llvm/Analysis/RuntimeLibcallInfo.h
+++ b/llvm/include/llvm/Analysis/RuntimeLibcallInfo.h
@@ -29,12 +29,11 @@ class LLVM_ABI RuntimeLibraryAnalysis
EABI EABIVersion = EABI::Default, StringRef ABIName = "",
VectorLibrary VecLib = VectorLibrary::NoLibrary);
- LLVM_ABI RTLIB::RuntimeLibcallsInfo run(const Module &M,
- ModuleAnalysisManager &);
+ RTLIB::RuntimeLibcallsInfo run(const Module &M, ModuleAnalysisManager &);
private:
friend AnalysisInfoMixin<RuntimeLibraryAnalysis>;
- LLVM_ABI static AnalysisKey Key;
+ static AnalysisKey Key;
std::optional<RTLIB::RuntimeLibcallsInfo> LibcallsInfo;
};
More information about the llvm-commits
mailing list