From 7704720d41eb869a946d910dbc925e7736fafabc Mon Sep 17 00:00:00 2001 From: Devin Coughlin Date: Sun, 20 Mar 2016 17:35:45 +0000 Subject: [PATCH] [tsan] Build TSan dylibs for iOS-style simulators Update the compiler-rt cmake to build TSan dylibs for iOS-style simulators when the corresponding COMPILER_RT_ENABLE_FOO_OS setting is enabled. Differential Revision: http://reviews.llvm.org/D18277 Part of rdar://problem/24048382 llvm-svn: 263910 --- compiler-rt/cmake/config-ix.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake index 0a9e9da7af103..e7f315cf8f024 100644 --- a/compiler-rt/cmake/config-ix.cmake +++ b/compiler-rt/cmake/config-ix.cmake @@ -401,6 +401,7 @@ if(APPLE) list(APPEND SANITIZER_COMMON_SUPPORTED_OS ${platform}sim) list(APPEND BUILTIN_SUPPORTED_OS ${platform}sim) list(APPEND PROFILE_SUPPORTED_OS ${platform}sim) + list(APPEND TSAN_SUPPORTED_OS ${platform}sim) endif() foreach(arch ${DARWIN_${platform}sim_ARCHS}) list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch})