================
@@ -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;
----------------
tarunprabhu wrote:

Since this is an experimental option that will likely be removed and is only to 
be used in BackendUtil.cpp, it is better to move it there. Essentially, what 
was originally the `static` definition of `ClPGOColdFuncAttr` in 
`BackendUtil.cpp` would become `extern ClPGOColdFuncAttr`.

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

Reply via email to