[clang] [compiler-rt] [ubsan] Display correct runtime messages for negative _BitInt (PR #96240)

via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 15 14:52:51 PDT 2024


================
@@ -125,6 +137,26 @@ class TypeDescriptor {
     return 1 << (TypeInfo >> 1);
   }
 
+  const char *getBitIntBitCountPointer() const {
+    CHECK(isBitIntTy());
----------------
earnol wrote:

Since it's a runtime: accepted. It makes sense to make it as small as possible.

https://github.com/llvm/llvm-project/pull/96240


More information about the cfe-commits mailing list