[llvm] r281130 - [libFuzzer] print a failed-merge warning only in the merge mode
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 9 19:17:22 PDT 2016
Author: kcc
Date: Fri Sep 9 21:17:22 2016
New Revision: 281130
URL: http://llvm.org/viewvc/llvm-project?rev=281130&view=rev
Log:
[libFuzzer] print a failed-merge warning only in the merge mode
Modified:
llvm/trunk/lib/Fuzzer/FuzzerLoop.cpp
Modified: llvm/trunk/lib/Fuzzer/FuzzerLoop.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerLoop.cpp?rev=281130&r1=281129&r2=281130&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerLoop.cpp (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerLoop.cpp Fri Sep 9 21:17:22 2016
@@ -189,6 +189,7 @@ void Fuzzer::StaticDeathCallback() {
}
static void WarnOnUnsuccessfullMerge(bool DoWarn) {
+ if (!DoWarn) return;
Printf(
"***\n"
"***\n"
More information about the llvm-commits
mailing list