[clang] [compiler-rt] [ubsan] Display correct runtime messages for negative _BitInt (PR #96240)
Thurston Dang via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 15 11:19:56 PDT 2024
thurstond wrote:
> > One of the tests is failing:
> > ```
> > $ LIT_FILTER=bit-int-pass ninja check-ubsan
> >
> > compiler-rt/test/ubsan/TestCases/Integer/bit-int-pass.c:31:15: error: CHECK-NOT: excluded string found in input
> > // CHECK-NOT: runtime error:
> > ^
> > <stdin>:1:110: note: found here
> > compiler-rt/test/ubsan/TestCases/Integer/bit-int-pass.c:11:10: runtime error: implicit conversion from type '_BitInt(37)' of value 60129542145 (64-bit, signed) to type 'uint32_t' (aka 'unsigned int') changed the value to 1 (32-bit, unsigned)
> > ^~~~~~~~~~~~~~
> > ```
>
> On what target you observe the failure?
x86-64 Linux
https://github.com/llvm/llvm-project/pull/96240
More information about the cfe-commits
mailing list