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

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 06:53:04 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
----------------
enh-google wrote:

the changes in this file make sense to me, but you should probably add a comment saying something like "Android has its own crash reporting unwinder"?

that said ... we don't have the equivalent changes in the _other_ sanitizers, do we? all the sanitizers should probably behave the same?

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


More information about the llvm-commits mailing list