[compiler-rt] r359920 - [Lsan] Disabling explicitally FreeBSD

David Carlier via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 12:46:55 PDT 2019


Author: devnexen
Date: Fri May  3 12:46:55 2019
New Revision: 359920

URL: http://llvm.org/viewvc/llvm-project?rev=359920&view=rev
Log:
[Lsan] Disabling explicitally FreeBSD

As it is not implemented upon usage, it just provokes numerous linkage issues so better switch off clearly.

Reviewers: vitalybuka, morehouse

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D61484

Modified:
    compiler-rt/trunk/cmake/config-ix.cmake

Modified: compiler-rt/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/config-ix.cmake?rev=359920&r1=359919&r2=359920&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/config-ix.cmake Fri May  3 12:46:55 2019
@@ -582,7 +582,7 @@ else()
 endif()
 
 if (COMPILER_RT_HAS_SANITIZER_COMMON AND LSAN_SUPPORTED_ARCH AND
-    OS_NAME MATCHES "Darwin|Linux|FreeBSD")
+    OS_NAME MATCHES "Darwin|Linux")
   set(COMPILER_RT_HAS_LSAN TRUE)
 else()
   set(COMPILER_RT_HAS_LSAN FALSE)




More information about the llvm-commits mailing list