commit | f3ab6d9e1062660a56708c05b818d584a4dfbf00 | [log] [tgz] |
---|---|---|
author | Kostya Serebryany <kcc@google.com> | Fri Mar 25 20:31:26 2016 +0000 |
committer | Kostya Serebryany <kcc@google.com> | Fri Mar 25 20:31:26 2016 +0000 |
tree | ccae2810f38b5cb84d49e6c717f9b7c886047518 | |
parent | 3a61a4d10452a992e712be2646b7ecb003a86ddf [diff] [blame] |
[libFuzzer] use fflush after every Printf llvm-svn: 264459
diff --git a/llvm/lib/Fuzzer/FuzzerIO.cpp b/llvm/lib/Fuzzer/FuzzerIO.cpp index de1624d..ac35d73 100644 --- a/llvm/lib/Fuzzer/FuzzerIO.cpp +++ b/llvm/lib/Fuzzer/FuzzerIO.cpp
@@ -134,6 +134,7 @@ va_start(ap, Fmt); vfprintf(OutputFile, Fmt, ap); va_end(ap); + fflush(OutputFile); } } // namespace fuzzer