[compiler-rt] [TSan] Add support for Android (PR #147580)

Fei Peng via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 31 11:14:08 PDT 2025


================
@@ -662,7 +662,7 @@ void MapShadow(uptr addr, uptr size) {
           addr + size, meta_begin, meta_end);
 }
 
-#if !SANITIZER_GO
+#if !SANITIZER_GO && !SANITIZER_ANDROID
----------------
airpfei wrote:

Here is a workaround to avoid crashes, by adding the following flags: `handle_segv=0,handle_sigbus=0,handle_sigfpe=0`. So I will reset this change.

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


More information about the llvm-commits mailing list