[compiler-rt] [compiler-rt] Write ASAN/TSAN reports to a global for crash reporting (PR #200526)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sun May 31 21:56:33 PDT 2026


================
@@ -211,6 +211,45 @@ class ScopedInErrorReport {
       SetAbortMessage(buffer_copy.data());
     }
 
+#if SANITIZER_APPLE
----------------
vitalybuka wrote:

all reports go through existing extension points:

INTERFACE_WEAK_FUNCTION(__sanitizer_on_print)
INTERFACE_WEAK_FUNCTION(__sanitizer_report_error_summary)

Why not just override them and share with OS crash reporting system.


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


More information about the llvm-commits mailing list