[llvm] [HWASAN] Follow up for #83503 implement selective instrumentation (PR #83942)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 12:50:48 PST 2024


================
@@ -181,16 +185,20 @@ static cl::opt<bool> ClWithTls(
     cl::Hidden, cl::init(true));
 
 static cl::opt<bool>
-    CSkipHotCode("hwasan-skip-hot-code",
-                 cl::desc("Do not instument hot functions based on FDO."),
-                 cl::Hidden, cl::init(false));
+    CSelectiveInstrumentation("hwasan-selective-instrumentation",
----------------
vitalybuka wrote:

CSelectiveInstrumentation -> CSkipHotCode?

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


More information about the llvm-commits mailing list