aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbgdbclient.py
diff options
context:
space:
mode:
authorThurston Dang <thurston@google.com>2025-01-29 21:03:26 -0800
committerGitHub <noreply@github.com>2025-01-29 21:03:26 -0800
commitdccd27112722109d2e2f03e8da9ce8690f06e11b (patch)
treed8ef8182f3d734069d6a26c3047a531dfaabcf0c /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py
parent4b2d6157744ca7693e6e904bd53d435df1ff6ee8 (diff)
downloadllvm-dccd27112722109d2e2f03e8da9ce8690f06e11b.zip
llvm-dccd27112722109d2e2f03e8da9ce8690f06e11b.tar.gz
llvm-dccd27112722109d2e2f03e8da9ce8690f06e11b.tar.bz2
[ubsan] Connect -fsanitize-skip-hot-cutoff to LowerAllowCheckPass<cutoffs> (#124857)
This adds the plumbing between -fsanitize-skip-hot-cutoff (introduced in https://github.com/llvm/llvm-project/pull/121619) and LowerAllowCheckPass<cutoffs> (introduced in https://github.com/llvm/llvm-project/pull/124211). The net effect is that -fsanitize-skip-hot-cutoff now combines the functionality of -ubsan-guard-checks and -lower-allow-check-percentile-cutoff (though this patch does not remove those yet), and generalizes the latter to allow per-sanitizer cutoffs. Note: this patch replaces Intrinsic::allow_ubsan_check's SanitizerHandler parameter with SanitizerOrdinal; this is necessary because the hot cutoffs are specified in terms of SanitizerOrdinal (e.g., null, alignment), not SanitizerHandler (e.g., TypeMismatch). Likewise, CodeGenFunction::EmitCheck is changed to emit allow_ubsan_check() for each individual check. --------- Co-authored-by: Vitaly Buka <vitalybuka@gmail.com> Co-authored-by: Vitaly Buka <vitalybuka@google.com>
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions