summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerLoop.cpp
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2019-10-01 22:49:06 +0000
committerMatt Morehouse <mascasa@google.com>2019-10-01 22:49:06 +0000
commit1c8e05110c01254fc26ca3db90e9d8518957d815 (patch)
treeb7d9703f81d1ec19c2cade46c8a19f573da0e3ad /compiler-rt/lib/fuzzer/FuzzerLoop.cpp
parent9b36c1cf278b44d3ac039e60dca93df793d280cd (diff)
downloadbcm5719-llvm-1c8e05110c01254fc26ca3db90e9d8518957d815.tar.gz
bcm5719-llvm-1c8e05110c01254fc26ca3db90e9d8518957d815.zip
[libFuzzer] Remove lazy counters.
Summary: Lazy counters haven't improved performance for large fuzz targets. Reviewers: kcc Reviewed By: kcc Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67476 llvm-svn: 373403
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerLoop.cpp')
-rw-r--r--compiler-rt/lib/fuzzer/FuzzerLoop.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerLoop.cpp b/compiler-rt/lib/fuzzer/FuzzerLoop.cpp
index 96ab544b15c..df533e877d3 100644
--- a/compiler-rt/lib/fuzzer/FuzzerLoop.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerLoop.cpp
@@ -742,10 +742,6 @@ void Fuzzer::ReadAndExecuteSeedCorpora(Vector<SizedFile> &CorporaFiles) {
uint8_t dummy = 0;
ExecuteCallback(&dummy, 0);
- // Protect lazy counters here, after the once-init code has been executed.
- if (Options.LazyCounters)
- TPC.ProtectLazyCounters();
-
if (CorporaFiles.empty()) {
Printf("INFO: A corpus is not provided, starting from an empty corpus\n");
Unit U({'\n'}); // Valid ASCII input.
OpenPOWER on IntegriCloud