mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
[fuzzer]: fix exit code, add more diagnostics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228103 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0013784dd3
commit
8fa9947e4d
@ -157,6 +157,7 @@ size_t Fuzzer::MutateAndTestOne(Unit *U) {
|
||||
std::cerr << "#" << TotalNumberOfRuns
|
||||
<< "\tNEW: " << NewCoverage
|
||||
<< " L: " << U->size()
|
||||
<< " S: " << Corpus.size()
|
||||
<< "\t";
|
||||
if (U->size() < 30) {
|
||||
PrintASCII(*U);
|
||||
|
@ -180,5 +180,5 @@ int main(int argc, char **argv) {
|
||||
F.Loop(Flags.iterations < 0 ? INT_MAX : Flags.iterations);
|
||||
if (Flags.verbosity)
|
||||
std::cerr << "Done\n";
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user