[clang] [compiler-rt] [UBSan] Fix _BitInt value display for unsigned types in runtime handlers (PR #194405)
Paul Kirth via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 09:05:06 PDT 2026
================
@@ -65,7 +65,7 @@ uint32_t float_cast_overflow() {
uint32_t implicit_integer_sign_change(unsigned _BitInt(37) x) {
_BitInt(37) r = x;
- // CHECK: {{.*}}bit-int.c:[[#@LINE-1]]:19: runtime error: implicit conversion from type '{{[^']+}}' of value
+ // CHECK: {{.*}}bit-int.c:[[#@LINE-1]]:19: runtime error: implicit conversion from type '{{[^']+}}' of value {{[0-9]+}} (37-bit, unsigned)
----------------
ilovepi wrote:
Do we know how many characters should be in the value? Do we want to test that too? I guess the question is: do you want to know/detect if something in this representation changes? On one hand, that can be a bit noisy; on the other, maintainers aren't surprised that something silently changed.
https://github.com/llvm/llvm-project/pull/194405
More information about the llvm-commits
mailing list