From 9c2ee32cbf883f29e76949bbc3d880d9e57bd088 Mon Sep 17 00:00:00 2001 From: Marcos Pividori Date: Sun, 22 Jan 2017 01:58:55 +0000 Subject: [PATCH] [libFuzzer] Leak Sanitizer is not supported for Windows. Differential Revision: https://reviews.llvm.org/D28709 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292745 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Fuzzer/test/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Fuzzer/test/CMakeLists.txt b/lib/Fuzzer/test/CMakeLists.txt index 0e7842f1bea..2d1f1786293 100644 --- a/lib/Fuzzer/test/CMakeLists.txt +++ b/lib/Fuzzer/test/CMakeLists.txt @@ -121,10 +121,10 @@ set(Tests TraceMallocTest ) -if(APPLE) - # LeakSanitizer is not supported on OSX right now +if(APPLE OR MSVC) + # LeakSanitizer is not supported on OSX and Windows right now set(HAS_LSAN 0) - message(WARNING "LeakSanitizer is not supported on Apple platforms." + message(WARNING "LeakSanitizer is not supported." " Building and running LibFuzzer LeakSanitizer tests is disabled." ) else() -- 2.50.1