[llvm] [llvm] annotate interfaces in AsmParser, BinaryFormat, Bitcode, and Bitstream libraries for DLL export (PR #141794)

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 09:39:54 PDT 2025


================
@@ -120,7 +121,7 @@ namespace llvm {
 extern FunctionSummary::ForceSummaryHotnessType ForceSummaryEdgesCold;
 }
 
-extern llvm::cl::opt<bool> UseNewDbgInfoFormat;
+LLVM_ABI extern llvm::cl::opt<bool> UseNewDbgInfoFormat;
----------------
compnerd wrote:

Should `extern` precede `LLVM_ABI`?

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


More information about the llvm-commits mailing list