]> granicus.if.org Git - llvm/commitdiff
[libFuzzer] Leak Sanitizer is not supported for Windows.
authorMarcos Pividori <mpividori@google.com>
Sun, 22 Jan 2017 01:58:55 +0000 (01:58 +0000)
committerMarcos Pividori <mpividori@google.com>
Sun, 22 Jan 2017 01:58:55 +0000 (01:58 +0000)
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

index 0e7842f1beaf0ccd5c23616c175d149f9562f1b0..2d1f178629317961f8863a9cf016f58626e7e4bd 100644 (file)
@@ -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()