================ @@ -19,6 +21,7 @@ template <typename T> class Expected; template <typename T> class IntrusiveRefCntPtr; class Module; class MemoryBufferRef; +extern cl::opt<llvm::PGOOptions::ColdFuncOpt> ClPGOColdFuncAttr; ---------------- tblah wrote:
nit: I would put this `extern` in `BackendUtil.cpp` because it is not part of BackendUtils's public interface to other translation units. https://github.com/llvm/llvm-project/pull/136098 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits