[PATCH] D35602: Generate error reports when a fuzz target exits.
Max Moroz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 4 07:52:07 PDT 2017
Dor1s added a comment.
Matt, you are right, this CL is not a culprit. Sorry for the false signal. Now I found the real issue, it is the following revision: https://chromium.googlesource.com/chromium/llvm-project/compiler-rt/lib/fuzzer.git/+/1c0379f93124d95b87f3b62bf61d90882a669387
In particular, the new call added below is causing that:
diff --git a/FuzzerTracePC.h b/FuzzerTracePC.h
index ea6794c..56f1820 100644
--- a/FuzzerTracePC.h
+++ b/FuzzerTracePC.h
@@ -91,6 +91,7 @@
memset(Counters(), 0, GetNumPCs());
ClearExtraCounters();
ClearInlineCounters();
+ ClearClangCounters();
}
Disabling that with an extra cmd flag doesn't sound as a good solution to me. It would complicate usage for the end user (a regular developer) a little bit more. Can we think of anything else? //cc @kcc
https://reviews.llvm.org/D35602
More information about the llvm-commits
mailing list