[PATCH] D35602: Generate error reports when a fuzz target exits.

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 10:20:22 PDT 2017


kcc accepted this revision.
kcc added a comment.
This revision is now accepted and ready to land.

The diff is done from $(LLVM)/.. 
Please make it from ($LLVM) instead
LGTM otherwise. 
Also, please apply for the commit access.



================
Comment at: llvm/lib/Fuzzer/test/SimpleThreadedTest.cpp:16
     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();
----------------
redundant change there? (abort, not exit)


https://reviews.llvm.org/D35602





More information about the llvm-commits mailing list