[PATCH] D66899: [cmake][sanititzers] enable libfuzzer build on win32
Matthew G McGovern via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 28 11:09:45 PDT 2019
mcgov created this revision.
mcgov added reviewers: rnk, mstorsjo, vitalybuka.
mcgov added a project: Sanitizers.
Herald added subscribers: llvm-commits, Sanitizers, mgorny, dylanmckay.
Herald added a project: LLVM.
Recent commit from Max Shavrick https://reviews.llvm.org/D66433 enabled libfuzzer to build on windows, this just enables the option to build as part of the the regular build.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D66899
Files:
compiler-rt/cmake/config-ix.cmake
Index: compiler-rt/cmake/config-ix.cmake
===================================================================
--- compiler-rt/cmake/config-ix.cmake
+++ compiler-rt/cmake/config-ix.cmake
@@ -245,6 +245,8 @@
if(OS_NAME MATCHES "Linux")
set(ALL_FUZZER_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM64})
+elseif (OS_NAME MATCHES "Windows")
+ set(ALL_FUZZER_SUPPORTED_ARCH ${X86} ${X86_64})
elseif(OS_NAME MATCHES "Android")
set(ALL_FUZZER_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64})
else()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66899.217691.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190828/aac54a68/attachment.bin>
More information about the llvm-commits
mailing list