summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerFlags.def
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-08-05 21:43:48 +0000
committerKostya Serebryany <kcc@google.com>2015-08-05 21:43:48 +0000
commit70926aed6bf3819c4b23ee0ae6cc510dbecba96e (patch)
treeae9ab03b96684ae836384d39bf35140a96f78893 /llvm/lib/Fuzzer/FuzzerFlags.def
parent1ce0035bf0cbbe3709473578a13e00b0731e8140 (diff)
downloadbcm5719-llvm-70926aed6bf3819c4b23ee0ae6cc510dbecba96e.tar.gz
bcm5719-llvm-70926aed6bf3819c4b23ee0ae6cc510dbecba96e.zip
[libFuzzer] add option -report_slow_units=Nsec to control when slow units are printed
llvm-svn: 244152
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerFlags.def')
-rw-r--r--llvm/lib/Fuzzer/FuzzerFlags.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerFlags.def b/llvm/lib/Fuzzer/FuzzerFlags.def
index 742f672e201..ac3ac6ef3f8 100644
--- a/llvm/lib/Fuzzer/FuzzerFlags.def
+++ b/llvm/lib/Fuzzer/FuzzerFlags.def
@@ -58,3 +58,5 @@ FUZZER_FLAG_STRING(sync_command, "Execute an external command "
"\"<sync_command> <test_corpus>\" "
"to synchronize the test corpus.")
FUZZER_FLAG_INT(sync_timeout, 600, "Minimum timeout between syncs.")
+FUZZER_FLAG_INT(report_slow_units, 10,
+ "Report slowest units if they run for more than this number of seconds.")
OpenPOWER on IntegriCloud