[PATCH] D24657: [compiler-rt] Disable building of profiling runtime when LLVM_USE_SANITIZER is set

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 23:39:57 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL281815: [compiler-rt] Disable building of profiling runtime when LLVM_USE_SANITIZER… (authored by kuba.brecka).

Changed prior to commit:
  https://reviews.llvm.org/D24657?vs=71613&id=71726#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24657

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
@@ -462,7 +462,7 @@
   set(COMPILER_RT_HAS_MSAN FALSE)
 endif()
 
-if (PROFILE_SUPPORTED_ARCH AND
+if (PROFILE_SUPPORTED_ARCH AND NOT LLVM_USE_SANITIZER AND
     OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows")
   set(COMPILER_RT_HAS_PROFILE TRUE)
 else()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24657.71726.patch
Type: text/x-patch
Size: 458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160917/3dbf21b9/attachment.bin>


More information about the llvm-commits mailing list