Skip to content

Commit e277d6a

Browse files
committed
[Sanitizers] Disable armv7* sanitizers slice for ios
rdar://104059106 Differential Revision: https://reviews.llvm.org/D145000
1 parent d3ac92f commit e277d6a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@ function(darwin_test_archs os valid_archs)
147147
list(REMOVE_ITEM archs "i386")
148148
endif()
149149

150+
if(${os} MATCHES "^ios$")
151+
message(STATUS "Disabling sanitizers armv7* slice for ios")
152+
list(FILTER archs EXCLUDE REGEX "armv7.*")
153+
endif()
154+
150155
set(working_archs)
151156
foreach(arch ${archs})
152157

0 commit comments

Comments
 (0)