diff options
| author | Florian Mayer <fmayer@google.com> | 2025-11-21 12:47:21 -0800 |
|---|---|---|
| committer | Florian Mayer <fmayer@google.com> | 2025-11-21 12:47:21 -0800 |
| commit | 9a40b7905f03fcc4e9f5fa90a21c49fbcb33d0fd (patch) | |
| tree | 6efc2d7794326254edfcce99f7bf0a1d7f5a1d19 | |
| parent | 1b3d75f8bf14148f9d02874c218550bd87d9878c (diff) | |
messed up mergeusers/fmayer/spr/reapply-ubsan-compiler-rt-add-preservecc-variants-of-handlers-168973
Created using spr 1.3.7
| -rw-r--r-- | compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp b/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp index 034071f52736..480c5917877a 100644 --- a/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp +++ b/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp @@ -175,6 +175,14 @@ void NORETURN CheckFailed(const char *file, int, const char *cond, u64, u64) { HANDLER_PRESERVE(name, kind) HANDLER(type_mismatch, "type-mismatch") +HANDLER(alignment_assumption, "alignment-assumption") +HANDLER(add_overflow, "add-overflow") +HANDLER(sub_overflow, "sub-overflow") +HANDLER(mul_overflow, "mul-overflow") +HANDLER(negate_overflow, "negate-overflow") +HANDLER(divrem_overflow, "divrem-overflow") +HANDLER(shift_out_of_bounds, "shift-out-of-bounds") +HANDLER(out_of_bounds, "out-of-bounds") HANDLER(local_out_of_bounds, "local-out-of-bounds") HANDLER_RECOVER(builtin_unreachable, "builtin-unreachable") HANDLER_RECOVER(missing_return, "missing-return") |
