[compiler-rt] 4d4066a - Bump sanitizer iOS deployment target to 9.0
Julian Lettner via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 09:41:31 PST 2019
Author: Julian Lettner
Date: 2019-11-18T09:41:19-08:00
New Revision: 4d4066a52013768118f736bc6582c2c43c780507
URL: https://github.com/llvm/llvm-project/commit/4d4066a52013768118f736bc6582c2c43c780507
DIFF: https://github.com/llvm/llvm-project/commit/4d4066a52013768118f736bc6582c2c43c780507.diff
LOG: Bump sanitizer iOS deployment target to 9.0
Bump default value for `-miphoneos-version-min=x` to 9.0 (from 8.0).
TSan tests that use thread local storage `__thread` (e.g., tls_race.cpp)
are failing to link for the iOS simulator (arch=x86_64 and
-miphoneos-version-min=8.0) on internal/master (will be submitted to
Glacier train):
```
ld: targeted OS version does not support use of thread local variables in _main for architecture x86_64
```
iOS 9.0 was released 2015.
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 3a3e03a01aeb..5362e67ff582 100644
--- a/compiler-rt/cmake/config-ix.cmake
+++ b/compiler-rt/cmake/config-ix.cmake
@@ -328,7 +328,7 @@ if(APPLE)
list(APPEND DARWIN_EMBEDDED_PLATFORMS ios)
set(DARWIN_ios_MIN_VER_FLAG -miphoneos-version-min)
set(DARWIN_ios_SANITIZER_MIN_VER_FLAG
- ${DARWIN_ios_MIN_VER_FLAG}=8.0)
+ ${DARWIN_ios_MIN_VER_FLAG}=9.0)
endif()
if(COMPILER_RT_ENABLE_WATCHOS)
list(APPEND DARWIN_EMBEDDED_PLATFORMS watchos)
More information about the llvm-commits
mailing list