aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2021-12-09 20:03:15 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2021-12-09 22:06:41 +0100
commit4d4ce9bc2a12073dcc8b917f9fc2a4ecba26c4c5 (patch)
tree9589d15db6c5f85ca0da8a8463fbb9fb9a19e9b5
parent4459585c043faace507c685bcd9997da15809aae (diff)
executor: fix kcov mmaping in the non-optimized mode
As all opened kcov instances are mmapped, we don't need to check it one more time at all.
-rw-r--r--executor/executor.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/executor/executor.cc b/executor/executor.cc
index 5f19c079f..3b4d93eba 100644
--- a/executor/executor.cc
+++ b/executor/executor.cc
@@ -1222,8 +1222,6 @@ void thread_mmap_cover(thread_t* th)
{
if (th->cov.data != NULL)
return;
- if (!flag_delay_kcov_mmap)
- fail("out of mmapped kcov threads");
cover_mmap(&th->cov);
cover_protect(&th->cov);
}