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

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 17 08:21:04 PDT 2025


================
@@ -67,7 +68,7 @@ class BPFunctionNode {
   /// The ID of this node
   IDT Id;
 
-  void dump(raw_ostream &OS) const;
+  LLVM_ABI void dump(raw_ostream &OS) const;
----------------
compnerd wrote:

`LLVM_ENABLE_DUMP` should be used and it should not be dependent on asserts (`NDEBUG`).

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


More information about the llvm-commits mailing list