[all-commits] [llvm/llvm-project] 49001d: [ubsan] Display correct runtime messages for negat...
earnol via All-commits
all-commits at lists.llvm.org
Thu Jun 20 13:31:53 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 49001d584c69726eb7b5069468c5216da3fc3263
https://github.com/llvm/llvm-project/commit/49001d584c69726eb7b5069468c5216da3fc3263
Author: earnol <earnol at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M compiler-rt/lib/ubsan/ubsan_value.cpp
M compiler-rt/lib/ubsan/ubsan_value.h
A compiler-rt/test/ubsan/TestCases/Integer/bit-int-pass.c
A compiler-rt/test/ubsan/TestCases/Integer/bit-int.c
Log Message:
-----------
[ubsan] Display correct runtime messages for negative _BitInt (#93612)
Without this patch compiler-rt ubsan library has a bug displaying
incorrect values for variables of the _BitInt (previously called
_ExtInt) type. This patch affects affects both: generation of metadata
inside code generator and runtime part. The runtime part provided only
for i386 and x86_64 runtimes. Other runtimes should be updated to take
full benefit of this patch.
The patch is constructed the way to be backward compatible and int and
float type runtime diagnostics should be unaffected for not yet updated
runtimes.
This patch fixes issue:
https://github.com/llvm/llvm-project/issues/64100.
Co-authored-by: Vladislav Aranov <vladislav.aranov at ericsson.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
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