[libFuzzer] add option -report_slow_units=Nsec to control when slow units are printed
[oota-llvm.git] / lib / Fuzzer / FuzzerFlags.def
index 742f672e2012f25e2f11a2a4ecee7aa6587923ff..ac3ac6ef3f8f404f23eddd17142153bd58d17ba9 100644 (file)
@@ -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.")