From: Kostya Serebryany Date: Wed, 15 Mar 2017 00:39:06 +0000 (+0000) Subject: [libFuzzer] remove even more stale code X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3785710791bc2d317f6bf88ab524583b30808be3;p=llvm [libFuzzer] remove even more stale code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297797 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Fuzzer/FuzzerInternal.h b/lib/Fuzzer/FuzzerInternal.h index 3a3889723f7..b15f614d726 100644 --- a/lib/Fuzzer/FuzzerInternal.h +++ b/lib/Fuzzer/FuzzerInternal.h @@ -141,8 +141,6 @@ private: // Need to know our own thread. static thread_local bool IsMyThread; - - bool InMergeMode = false; }; }; // namespace fuzzer diff --git a/lib/Fuzzer/FuzzerLoop.cpp b/lib/Fuzzer/FuzzerLoop.cpp index 4f1755055c0..aeffb4388b1 100644 --- a/lib/Fuzzer/FuzzerLoop.cpp +++ b/lib/Fuzzer/FuzzerLoop.cpp @@ -150,23 +150,7 @@ void Fuzzer::StaticDeathCallback() { F->DeathCallback(); } -static void WarnOnUnsuccessfullMerge(bool DoWarn) { - if (!DoWarn) return; - Printf( - "***\n" - "***\n" - "***\n" - "*** NOTE: merge did not succeed due to a failure on one of the inputs.\n" - "*** You will need to filter out crashes from the corpus, e.g. like this:\n" - "*** for f in WITH_CRASHES/*; do ./fuzzer $f && cp $f NO_CRASHES; done\n" - "*** Future versions may have crash-resistant merge, stay tuned.\n" - "***\n" - "***\n" - "***\n"); -} - void Fuzzer::DumpCurrentUnit(const char *Prefix) { - WarnOnUnsuccessfullMerge(InMergeMode); if (!CurrentUnitData) return; // Happens when running individual inputs. MD.PrintMutationSequence(); Printf("; base unit: %s\n", Sha1ToString(BaseSha1).c_str());