[llvm] [BoundsChecking] Add guard= pass parameter (PR #122575)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 22:54:22 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.
----------------
thurstond wrote:
I see, thanks for the explanation!
https://github.com/llvm/llvm-project/pull/122575
More information about the llvm-commits
mailing list