aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-12-06 15:52:21 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-12-09 09:22:14 +0100
commit93ba52cbd752117fede23daf5d9bd96094dae25c (patch)
treeb01d8e23128381334110d6629df0f3ab0d73ed01 /executor
parent4e66c6f399b8e6de865c5c00e24ce7941ffc4b74 (diff)
executor: use coverage filter for comparisons
Filter out all comparisons in non-interesting code. Comparisons are expensive, so it makes lots of sense, these filtered out can't give us any new interesting signal.
Diffstat (limited to 'executor')
-rw-r--r--executor/executor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/executor.cc b/executor/executor.cc
index 935a90be6..3c00fd6a2 100644
--- a/executor/executor.cc
+++ b/executor/executor.cc
@@ -1448,7 +1448,7 @@ bool kcov_comparison_t::ignore() const
return true;
#endif
}
- return false;
+ return !coverage_filter(pc);
}
bool kcov_comparison_t::operator==(const struct kcov_comparison_t& other) const