[clang] [llvm] [ubsan] Plumb through -fsanitize-skip-hot-cutoff to LowerAllowCheckPass (PR #124211)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 26 15:36:43 PST 2025


================
@@ -71,7 +72,8 @@ static void emitRemark(IntrinsicInst *II, OptimizationRemarkEmitter &ORE,
 
 static bool removeUbsanTraps(Function &F, const BlockFrequencyInfo &BFI,
                              const ProfileSummaryInfo *PSI,
-                             OptimizationRemarkEmitter &ORE) {
+                             OptimizationRemarkEmitter &ORE,
+                             std::vector<unsigned int> &cutoffs) {
----------------
vitalybuka wrote:

const& ?

https://github.com/llvm/llvm-project/pull/124211


More information about the llvm-commits mailing list