diff options
Diffstat (limited to 'llvm/lib/Fuzzer/test/SimpleThreadedTest.cpp')
-rw-r--r-- | llvm/lib/Fuzzer/test/SimpleThreadedTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/test/SimpleThreadedTest.cpp b/llvm/lib/Fuzzer/test/SimpleThreadedTest.cpp index 1abdc3fc6d6..deeae756a82 100644 --- a/llvm/lib/Fuzzer/test/SimpleThreadedTest.cpp +++ b/llvm/lib/Fuzzer/test/SimpleThreadedTest.cpp @@ -7,12 +7,13 @@ #include <cstdint> #include <cstring> #include <iostream> +#include <ostream> #include <thread> extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { auto C = [&] { if (Size >= 2 && Data[0] == 'H') { - std::cout << "BINGO; Found the target, exiting\n"; + std::cout << "BINGO; Found the target, exiting\n" << std::flush; abort(); } }; |