[compiler-rt] 4729f6e - [CompilerRT] Remove sanitizer support for i386 iossim
usama hameed via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 14:37:31 PST 2023
Author: usama hameed
Date: 2023-01-17T14:37:06-08:00
New Revision: 4729f6e03a12b0f3613416dc6f65407afa7e8f19
URL: https://github.com/llvm/llvm-project/commit/4729f6e03a12b0f3613416dc6f65407afa7e8f19
DIFF: https://github.com/llvm/llvm-project/commit/4729f6e03a12b0f3613416dc6f65407afa7e8f19.diff
LOG: [CompilerRT] Remove sanitizer support for i386 iossim
Summary:
This patch removes building sanitizers for i386 iossim. This is to reduce the toolchain size.
Reviewers:
Subscribers:
Added:
Modified:
compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
Removed:
################################################################################
diff --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
index e372da0d99ba..a826c513cd81 100644
--- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
@@ -142,6 +142,11 @@ function(darwin_test_archs os valid_archs)
list(REMOVE_ITEM archs "x86_64h")
endif()
+ if(${os} MATCHES "iossim")
+ message(STATUS "Disabling i386 slice for iossim")
+ list(REMOVE_ITEM archs "i386")
+ endif()
+
set(working_archs)
foreach(arch ${archs})
More information about the llvm-commits
mailing list