[all-commits] [llvm/llvm-project] a1209d: [ubsan_minimal] Allow UBSan handler from Minimal r...
Andrew Lazarev via All-commits
all-commits at lists.llvm.org
Wed Aug 6 11:22:11 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a1209d868632b8aea10450cd2323848ab0b6776a
https://github.com/llvm/llvm-project/commit/a1209d868632b8aea10450cd2323848ab0b6776a
Author: Andrew Lazarev <alazarev at google.com>
Date: 2025-08-06 (Wed, 06 Aug 2025)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
A compiler-rt/test/ubsan_minimal/TestCases/misalignment.cpp
A compiler-rt/test/ubsan_minimal/TestCases/null.cpp
Log Message:
-----------
[ubsan_minimal] Allow UBSan handler from Minimal runtime to accept arguments (#152192)
+ Changed type_mismatch minimal handler to accept and print pointer.
This will allow to distinguish null pointer use, misallignment and
incorrect object size.
The change increases binary size by ~1% and has almost no performance
impact.
Fixes #149943
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