From a543f77bdb6db7f7caa9a853843d5f141ff50a05 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Wed, 11 Nov 2015 02:01:16 +0000 Subject: [PATCH] Disabling sancov.cc on windows. It can't be built due to cxxabi missing. Will fix later. Differential Revision: http://reviews.llvm.org/D14559 llvm-svn: 252689 --- compiler-rt/lib/sanitizer_common/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compiler-rt/lib/sanitizer_common/CMakeLists.txt b/compiler-rt/lib/sanitizer_common/CMakeLists.txt index 345362981af2..7e849c6270da 100644 --- a/compiler-rt/lib/sanitizer_common/CMakeLists.txt +++ b/compiler-rt/lib/sanitizer_common/CMakeLists.txt @@ -157,5 +157,7 @@ if(COMPILER_RT_INCLUDE_TESTS) add_subdirectory(tests) endif() -add_llvm_tool(sancov sancov.cc) -target_link_libraries(sancov LLVMSupport LLVMSymbolize LLVMObject LLVMDebugInfoDWARF LLVMDebugInfoPDB) +if (!MSVC) + add_llvm_tool(sancov sancov.cc) + target_link_libraries(sancov LLVMSupport LLVMSymbolize LLVMObject LLVMDebugInfoDWARF LLVMDebugInfoPDB) +endif()