[compiler-rt] [compiler-rt] Write ASAN/TSAN reports to a global for crash reporting (PR #200526)
Andrew Haberlandt via llvm-commits
llvm-commits at lists.llvm.org
Sun May 31 21:55:10 PDT 2026
================
@@ -15,7 +15,57 @@
#include "sanitizer_common.h"
#include "sanitizer_platform.h"
#if SANITIZER_APPLE
-#include "sanitizer_posix.h"
+# include <stddef.h>
+# include <stdint.h>
+
+# include "sanitizer_posix.h"
+
+// macOS sanitizer report format for Crash Reporting
+
+# define LLVM_SANITIZER_V1_CATEGORY_MAXLEN 32
+# define LLVM_SANITIZER_V1_TYPE_MAXLEN 32
----------------
ndrewh wrote:
These are currently macOS-specific types which are duplicated verbatim from their macOS definitions; if we decide to extend this format to other platforms, I would need to rename the types.
https://github.com/llvm/llvm-project/pull/200526
More information about the llvm-commits
mailing list