summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerFork.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2019-02-14 00:25:43 +0000
committerKostya Serebryany <kcc@google.com>2019-02-14 00:25:43 +0000
commit60c5ded2692ddc27e477cbd68677e3bff8c29467 (patch)
tree6d67047d621fb06694b62f41f0ad5db7aeb09501 /compiler-rt/lib/fuzzer/FuzzerFork.h
parentdfa0f556bf26043b094614a5adc9eaf7e7bea201 (diff)
downloadbcm5719-llvm-60c5ded2692ddc27e477cbd68677e3bff8c29467.tar.gz
bcm5719-llvm-60c5ded2692ddc27e477cbd68677e3bff8c29467.zip
[libFuzzer] add threads to the fork mode: now you can pass -fork=N to run N concurrent workers. Fork mode is still work-in-progress.
llvm-svn: 353997
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerFork.h')
-rw-r--r--compiler-rt/lib/fuzzer/FuzzerFork.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerFork.h b/compiler-rt/lib/fuzzer/FuzzerFork.h
index d9e8de51510..b29a43e13fb 100644
--- a/compiler-rt/lib/fuzzer/FuzzerFork.h
+++ b/compiler-rt/lib/fuzzer/FuzzerFork.h
@@ -18,7 +18,7 @@
namespace fuzzer {
void FuzzWithFork(Random &Rand, const FuzzingOptions &Options,
const Vector<std::string> &Args,
- const Vector<std::string> &CorpusDirs);
+ const Vector<std::string> &CorpusDirs, int NumJobs);
} // namespace fuzzer
#endif // LLVM_FUZZER_FORK_H
OpenPOWER on IntegriCloud