[compiler-rt] [ubsan-minimal] Switch to weak symbols for callbacks to allow overriding in client code (PR #119242)

Kirill Stoimenov via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 17:21:02 PST 2024


================
@@ -0,0 +1,14 @@
+// RUN: %clang -fsanitize=implicit-integer-sign-change %s -o %t && %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK
+
+#include <stdio.h>
+#include <stdint.h>
+
+void __ubsan_handle_implicit_conversion_minimal() {
----------------
kstoimenov wrote:


I renamed report_this_error to __sanitizer_report_ubsan_error so we have a single handler now. PTAL.



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


More information about the llvm-commits mailing list