[llvm] [BOLT]Improve profile quality reporting (PR #130810)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 17 13:03:54 PDT 2025
================
@@ -365,6 +396,74 @@ void printCFGFlowConservationStats(raw_ostream &OS,
}
}
+void printExceptionHandlingStats(const BinaryContext &BC, raw_ostream &OS,
----------------
ShatianWang wrote:
There are two things that are collected for each binary function
1) Sum of execution counts on landing pads / sum of execution counts on all basic blocks (including landing pads)
2) Sum of execution counts on landing pads / sum of call counts for all call instructions in the function that have a landing pad
https://github.com/llvm/llvm-project/pull/130810
More information about the llvm-commits
mailing list