summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/tests
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2018-05-16 23:26:37 +0000
committerKostya Serebryany <kcc@google.com>2018-05-16 23:26:37 +0000
commite9c6f06cce2c69e91c7dcffbef3bcacb05bdea71 (patch)
treeeea34fa773f25f9fea375345827291cc1d68872b /compiler-rt/lib/fuzzer/tests
parent3bf63c920185530df55a8b0c42158febfbb5450d (diff)
downloadbcm5719-llvm-e9c6f06cce2c69e91c7dcffbef3bcacb05bdea71.tar.gz
bcm5719-llvm-e9c6f06cce2c69e91c7dcffbef3bcacb05bdea71.zip
[libFuzzer] add an experimental flag -focus_function: libFuzzer will try to focus on inputs that trigger that function
llvm-svn: 332554
Diffstat (limited to 'compiler-rt/lib/fuzzer/tests')
-rw-r--r--compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp b/compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp
index c795eddc656..a38a45344e9 100644
--- a/compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp
+++ b/compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp
@@ -579,7 +579,7 @@ TEST(Corpus, Distribution) {
size_t N = 10;
size_t TriesPerUnit = 1<<16;
for (size_t i = 0; i < N; i++)
- C->AddToCorpus(Unit{ static_cast<uint8_t>(i) }, 1, false, {});
+ C->AddToCorpus(Unit{ static_cast<uint8_t>(i) }, 1, false, false, {});
Vector<size_t> Hist(N);
for (size_t i = 0; i < N * TriesPerUnit; i++) {
OpenPOWER on IntegriCloud