llvm-project/compiler-rt/lib/fuzzer/tests
Marco Vanotti 0fe4701e51 Expand unit tests for fuzzer::Merger
This change adds additional unit tests for fuzzer::Merger::Parse and fuzzer::Merger::Merge in anticipation of additional changes to the merge control file format to support cross-process fuzzing.

It modifies the parameter handling of Merge slightly in order to make NewFeatures and NewCov consistent with NewFiles; namely, Merge *replaces* the contents of these output parameters rather than accumulating them (thereby fixing a buggy return value).

This is change 1 of (at least) 18 for cross-process fuzzing support.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D94506
2021-02-12 11:18:34 -08:00
..
CMakeLists.txt [LibFuzzer] [tests] [Darwin] Use the pthread library from the SDK 2020-08-21 09:22:13 -07:00
FuzzedDataProviderUnittest.cpp [compiler-rt] FuzzedDataProvider: Add PickValueInArray for std::array 2020-12-30 10:25:26 -08:00
FuzzerUnittest.cpp Expand unit tests for fuzzer::Merger 2021-02-12 11:18:34 -08:00