[clang] [sanitizer] Parse weighted sanitizer args and -fno-sanitize-top-hot (PR #121619)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 6 14:31:24 PST 2025


================
@@ -3602,6 +3602,7 @@ void CodeGenFunction::EmitCheck(
   llvm::Value *RecoverableCond = nullptr;
   llvm::Value *TrapCond = nullptr;
   bool NoMerge = false;
+  bool SanitizeGuardChecks = ClSanitizeGuardChecks;
----------------
vitalybuka wrote:

Usually we parse Cls as `if (ClSanitizeGuardChecks.count())  override the value calculated normal way.`

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


More information about the cfe-commits mailing list