[llvm] Remove LLVM_ABI from members of RuntimeLibraryAnalysis (NFC) (PR #170850)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 05:23:45 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-analysis

Author: Stefan Gränitz (weliveindetail)

<details>
<summary>Changes</summary>

The Windows build has been failing for me with:
```
error: attribute 'dllexport' cannot be applied to member of 'dllexport' class
```


---
Full diff: https://github.com/llvm/llvm-project/pull/170850.diff


1 Files Affected:

- (modified) llvm/include/llvm/Analysis/RuntimeLibcallInfo.h (+2-3) 


``````````diff
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;
 };

``````````

</details>


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


More information about the llvm-commits mailing list