mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 15:51:54 +00:00
[libFuzzer] do the merge faster and a bit less precise
llvm-svn: 269497
This commit is contained in:
parent
68b6b9da9e
commit
1748b79bc0
@ -549,9 +549,10 @@ UnitVector Fuzzer::FindExtraUnits(const UnitVector &Initial,
|
||||
PrintStats(Stat);
|
||||
|
||||
size_t NewSize = Corpus.size();
|
||||
assert(NewSize <= OldSize);
|
||||
Res.swap(Corpus);
|
||||
|
||||
if (NewSize == OldSize)
|
||||
if (NewSize + 5 >= OldSize)
|
||||
break;
|
||||
OldSize = NewSize;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user