[all-commits] [llvm/llvm-project] ef92e6: [BoundsChecking] Update ubsantrap to use GuardKind...
Thurston Dang via All-commits
all-commits at lists.llvm.org
Tue Jan 28 08:52:52 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef92e6b99fc2a881f70c4e21bbdd6ae7a0c446c8
https://github.com/llvm/llvm-project/commit/ef92e6b99fc2a881f70c4e21bbdd6ae7a0c446c8
Author: Thurston Dang <thurston at google.com>
Date: 2025-01-28 (Tue, 28 Jan 2025)
Changed paths:
M clang/test/CodeGen/allow-ubsan-check.c
M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
M llvm/test/Instrumentation/BoundsChecking/runtimes.ll
Log Message:
-----------
[BoundsChecking] Update ubsantrap to use GuardKind (#124613)
This change makes it consistent with other uses of ubsantrap.
This also updates the tests. Notably, BoundsChecking/runtimes.ll had guard=3 which passed only because the method of calculating the parameter (`IRB.GetInsertBlock()->getParent()->size()`) happened to give the same answer.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list