[llvm] [llvm] annotate interfaces in llvm/Support for DLL export (PR #136014)

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 16 15:38:06 PDT 2025


================
@@ -68,25 +69,25 @@ class BranchProbability {
   // Return (1 - Probability).
   BranchProbability getCompl() const { return BranchProbability(D - N); }
 
-  raw_ostream &print(raw_ostream &OS) const;
+  LLVM_ABI raw_ostream &print(raw_ostream &OS) const;
 
-  void dump() const;
+  LLVM_ABI void dump() const;
----------------
compnerd wrote:

This should be debug only, why is this exported?

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


More information about the llvm-commits mailing list