[compiler-rt] [ubsan_minimal] Add __ubsan_report_error_fatal (PR #138999)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 00:09:09 PDT 2025


================
@@ -85,6 +85,12 @@ SANITIZER_INTERFACE_WEAK_DEF(void, __ubsan_report_error, const char *kind,
   }
 }
 
+SANITIZER_INTERFACE_WEAK_DEF(void, __ubsan_report_error_fatal, const char *kind,
+                             uintptr_t caller) {
+  // Use another handlers, in case it's already overriden.
----------------
vitalybuka wrote:

Thanks!
 PTAL.

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


More information about the llvm-commits mailing list