[PATCH] D15109: [tsan] Enable Thread Sanitizer on OS X builds by default
    Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Dec  1 07:03:14 PST 2015
    
    
  
This revision was automatically updated to reflect the committed changes.
Closed by commit rL254417: [tsan] Enable Thread Sanitizer on OS X builds by default (authored by kuba.brecka).
Changed prior to commit:
  http://reviews.llvm.org/D15109?vs=41500&id=41503#toc
Repository:
  rL LLVM
http://reviews.llvm.org/D15109
Files:
  compiler-rt/trunk/cmake/config-ix.cmake
Index: compiler-rt/trunk/cmake/config-ix.cmake
===================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake
+++ compiler-rt/trunk/cmake/config-ix.cmake
@@ -560,19 +560,12 @@
 endif()
 
 if (COMPILER_RT_HAS_SANITIZER_COMMON AND TSAN_SUPPORTED_ARCH AND
-    OS_NAME MATCHES "Linux|FreeBSD")
+    OS_NAME MATCHES "Darwin|Linux|FreeBSD")
   set(COMPILER_RT_HAS_TSAN TRUE)
 else()
   set(COMPILER_RT_HAS_TSAN FALSE)
 endif()
 
-if(APPLE)
-  option(COMPILER_RT_ENABLE_TSAN_OSX "Enable building TSan for OS X - Experimental" Off)
-  if(COMPILER_RT_ENABLE_TSAN_OSX)
-    set(COMPILER_RT_HAS_TSAN TRUE)
-  endif()
-endif()
-
 if (COMPILER_RT_HAS_SANITIZER_COMMON AND UBSAN_SUPPORTED_ARCH AND
     OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows")
   set(COMPILER_RT_HAS_UBSAN TRUE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15109.41503.patch
Type: text/x-patch
Size: 822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151201/f50cbef8/attachment.bin>
    
    
More information about the llvm-commits
mailing list