[PATCH] D28709: [libFuzzer] Leak Sanitizer is not supported for Windows.
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 15:14:03 PST 2017
mpividori created this revision.
mpividori added reviewers: kcc, zturner.
mpividori added a subscriber: llvm-commits.
mpividori set the repository for this revision to rL LLVM.
Herald added a subscriber: mgorny.
Repository:
rL LLVM
https://reviews.llvm.org/D28709
Files:
lib/Fuzzer/test/CMakeLists.txt
Index: lib/Fuzzer/test/CMakeLists.txt
===================================================================
--- lib/Fuzzer/test/CMakeLists.txt
+++ lib/Fuzzer/test/CMakeLists.txt
@@ -124,10 +124,10 @@
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()
@@ -202,10 +202,10 @@
set_output_directory(LLVMFuzzer-DSO1
BINARY_DIR "${CMAKE_BINARY_DIR}/lib/Fuzzer/test"
- LIBRARY_DIR "${CMAKE_BINARY_DIR}/lib/Fuzzer/lib")
+ LIBRARY_DIR "${CMAKE_BINARY_DIR}/lib/Fuzzer/test")
set_output_directory(LLVMFuzzer-DSO2
BINARY_DIR "${CMAKE_BINARY_DIR}/lib/Fuzzer/test"
- LIBRARY_DIR "${CMAKE_BINARY_DIR}/lib/Fuzzer/lib")
+ LIBRARY_DIR "${CMAKE_BINARY_DIR}/lib/Fuzzer/test")
set(TestBinaries ${TestBinaries} LLVMFuzzer-DSOTest)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28709.84397.patch
Type: text/x-patch
Size: 1091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170113/8d3a57d1/attachment.bin>
More information about the llvm-commits
mailing list