[clang] [ubsan] Assert that each check only has one SanitizerKind (PR #122392)
Vitaly Buka via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 9 16:19:35 PST 2025
================
@@ -3603,6 +3603,8 @@ void CodeGenFunction::EmitCheck(
llvm::Value *TrapCond = nullptr;
bool NoMerge = false;
for (int i = 0, n = Checked.size(); i < n; ++i) {
----------------
vitalybuka wrote:
Maybe instead switch SanitizerMask -> SanitizerOrdinal?
https://github.com/llvm/llvm-project/pull/122392
More information about the cfe-commits
mailing list