[clang] [llvm] [InstrPGO] Support cold function coverage instrumentation (PR #109837)
Lei Wang via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 31 09:54:46 PDT 2024
================
@@ -1182,8 +1187,13 @@ PassBuilder::buildModuleSimplificationPipeline(OptimizationLevel Level,
const bool IsCtxProfUse =
!UseCtxProfile.empty() && Phase == ThinOrFullLTOPhase::ThinLTOPreLink;
+ // Enable cold function coverage instrumentation if
+ // InstrumentColdFuncOnlyPath is provided.
+ const bool IsColdFuncOnlyInstrGen = PGOInstrumentColdFunctionOnly =
----------------
wlei-llvm wrote:
Should be fixed by https://github.com/llvm/llvm-project/pull/114364
https://github.com/llvm/llvm-project/pull/109837
More information about the cfe-commits
mailing list