diff --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake --- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake +++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake @@ -147,6 +147,11 @@ list(REMOVE_ITEM archs "i386") endif() + if(${os} MATCHES "^ios$") + message(STATUS "Disabling sanitizers armv7* slice for ios") + list(FILTER archs EXCLUDE REGEX "armv7.*") + endif() + set(working_archs) foreach(arch ${archs})