[llvm] [HWASAN][UBSAN] Don't use default `profile-summary-cutoff-hot` (PR #87691)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 4 12:57:49 PDT 2024


================
@@ -187,10 +187,8 @@ static cl::opt<bool>
                               cl::desc("Use selective instrumentation"),
                               cl::Hidden, cl::init(false));
 
-static cl::opt<int> ClHotPercentileCutoff(
-    "hwasan-percentile-cutoff-hot", cl::init(0),
-    cl::desc("Alternative hot percentile cuttoff."
-             "By default `-profile-summary-cutoff-hot` is used."));
+static cl::opt<int> ClHotPercentileCutoff("hwasan-percentile-cutoff-hot",
----------------
fmayer wrote:

should it be an error to give `hwasan-selective-instrumentation` but neither `hwasan-percentile-cutoff-hot` nor `hwasan-random-skip-rate"`?

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


More information about the llvm-commits mailing list