[compiler-rt] 3d4d1b9 - [scudo] Don't build SCUDO for Android

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 18 18:33:04 PDT 2021


Author: Vitaly Buka
Date: 2021-08-18T18:32:54-07:00
New Revision: 3d4d1b9b2981e0234e9687863e9b0f4778cbfc2d

URL: https://github.com/llvm/llvm-project/commit/3d4d1b9b2981e0234e9687863e9b0f4778cbfc2d
DIFF: https://github.com/llvm/llvm-project/commit/3d4d1b9b2981e0234e9687863e9b0f4778cbfc2d.diff

LOG: [scudo] Don't build SCUDO for Android

Android 11 uses scudo_standalone as default
allocator making difficult to test legacy scudo.

Added: 
    

Modified: 
    compiler-rt/cmake/config-ix.cmake

Removed: 
    


################################################################################
diff  --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake
index 0dc8043d28b8..5fe846d77103 100644
--- a/compiler-rt/cmake/config-ix.cmake
+++ b/compiler-rt/cmake/config-ix.cmake
@@ -708,7 +708,7 @@ else()
 endif()
 
 if (COMPILER_RT_HAS_SANITIZER_COMMON AND SCUDO_SUPPORTED_ARCH AND
-    OS_NAME MATCHES "Linux|Android|Fuchsia")
+    OS_NAME MATCHES "Linux|Fuchsia")
   set(COMPILER_RT_HAS_SCUDO TRUE)
 else()
   set(COMPILER_RT_HAS_SCUDO FALSE)


        


More information about the llvm-commits mailing list