[PATCH] D61484: [Lsan] Disabling explicitally on FreeBSD

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 03:39:04 PDT 2019


devnexen created this revision.
devnexen added reviewers: vitalybuka, morehouse.
devnexen created this object with visibility "All Users".
Herald added subscribers: Sanitizers, llvm-commits, mgorny.
Herald added projects: LLVM, Sanitizers.

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


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D61484

Files:
  cmake/config-ix.cmake


Index: cmake/config-ix.cmake
===================================================================
--- cmake/config-ix.cmake
+++ cmake/config-ix.cmake
@@ -582,7 +582,7 @@
 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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61484.197946.patch
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190503/de4bacf5/attachment.bin>


More information about the llvm-commits mailing list