From 4d4ce9bc2a12073dcc8b917f9fc2a4ecba26c4c5 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 9 Dec 2021 20:03:15 +0000 Subject: 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. --- executor/executor.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'executor/executor.cc') 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); } -- cgit mrf-deployment