[libFuzzer] add -artifact_prefix flag
[oota-llvm.git] / lib / Fuzzer / FuzzerFlags.def
index daf0882ce6fe8c718875ae14b3abaf3f84cb200f..b50d6d4ad03a679c0853ffe03668a85ca800501c 100644 (file)
@@ -65,3 +65,6 @@ FUZZER_FLAG_INT(tbm_depth, 5, "Apply at most this number of consecutive"
 FUZZER_FLAG_INT(tbm_width, 5, "Apply at most this number of independent"
                                "trace-based-mutations (tbm)")
 FUZZER_FLAG_STRING(test_single_input, "Use specified file as test input.")
+FUZZER_FLAG_STRING(artifact_prefix, "Write fuzzing artifacts (crash, "
+                                    "timeout, or slow inputs) as "
+                                    "$(artifact_prefix)file")