[llvm] [BoundsChecking] Add guard= pass parameter (PR #122575)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 22:18:37 PST 2025
================
@@ -29,6 +29,7 @@ class BoundsCheckingPass : public PassInfoMixin<BoundsCheckingPass> {
};
std::optional<Runtime> Rt; // Trap if empty.
bool Merge = false;
+ std::optional<int8_t> GuardKind; // `allow_ubsan_check` argument.
----------------
vitalybuka wrote:
because this is the type acceptable by allow_ubsan_check
https://github.com/llvm/llvm-project/pull/122575
More information about the llvm-commits
mailing list