summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-04-06 17:41:26 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-04-06 17:41:26 +0000
commit9ba14dedfd9580d20d665a9bd02851ae30c0272f (patch)
tree4b2f0b5fa646be8776482e88c8dafc5ad4047c1c /cmake
parentaf3a7b5594e854f434e4b5f990e0f758aa81832a (diff)
Enable builds of darwin lsan by default
Summary: Testing and asan leak detection are disabled by default. Reviewers: kubamracek, kcc Subscribers: srhines, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D31307 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@299669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config-ix.cmake7
1 files changed, 0 insertions, 7 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index e61a4f146..e336541b5 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -477,13 +477,6 @@ else()
set(COMPILER_RT_HAS_LSAN FALSE)
endif()
-if(APPLE)
- option(COMPILER_RT_ENABLE_LSAN_OSX "Enable building LSan for OS X - Experimental" Off)
- if(COMPILER_RT_ENABLE_LSAN_OSX)
- set(COMPILER_RT_HAS_LSAN TRUE)
- endif()
-endif()
-
if (COMPILER_RT_HAS_SANITIZER_COMMON AND MSAN_SUPPORTED_ARCH AND
OS_NAME MATCHES "Linux")
set(COMPILER_RT_HAS_MSAN TRUE)