[clang] [llvm] [InstrPGO] Support cold function coverage instrumentation (PR #109837)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 31 03:57:13 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 =
----------------
steelannelida wrote:
I'm sorry but had to revert it in 06e28ed84f3f0a05b493699965e18e7a5aeaccd2 and d924a9ba03a05b417676e84f6c81aac44f907f71
https://github.com/llvm/llvm-project/pull/109837
More information about the cfe-commits
mailing list