llvm-project/llvm/test/Instrumentation
Matt Morehouse 7e042bb1d1 [libFuzzer] Port to Windows
Summary:
Port libFuzzer to windows-msvc.
This patch allows libFuzzer targets to be built and run on Windows, using -fsanitize=fuzzer and/or fsanitize=fuzzer-no-link. It allows these forms of coverage instrumentation to work on Windows as well.
It does not fix all issues, such as those with -fsanitize-coverage=stack-depth, which is not usable on Windows as of this patch.
It also does not fix any libFuzzer integration tests. Nearly all of them fail to compile, fixing them will come in a later patch, so libFuzzer tests are disabled on Windows until them.

Patch By: metzman

Reviewers: morehouse, rnk

Reviewed By: morehouse, rnk

Subscribers: #sanitizers, delcypher, morehouse, kcc, eraman

Differential Revision: https://reviews.llvm.org/D51022

llvm-svn: 341082
2018-08-30 15:54:44 +00:00
..
AddressSanitizer Fix global_metadata_external_comdat.ll test 2018-08-21 00:03:21 +00:00
BoundsChecking Fix crash in bounds checking. 2018-08-03 17:12:23 +00:00
DataFlowSanitizer [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
EfficiencySanitizer Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1) 2018-01-19 17:13:12 +00:00
HWAddressSanitizer [hwasan] Add -hwasan-with-ifunc flag. 2018-08-10 16:21:37 +00:00
InstrProfiling [InstrProf] Use atomic profile counter updates for TSan 2018-08-16 22:24:47 +00:00
MemorySanitizer [MSan] Shrink the register save area for non-SSE builds 2018-08-10 08:06:43 +00:00
SanitizerCoverage [libFuzzer] Port to Windows 2018-08-30 15:54:44 +00:00
ThreadSanitizer [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
cgprofile.ll [BFI] Use rounding while computing profile counts. 2018-08-16 00:26:59 +00:00