aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_fuchsia.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-06-21 11:03:53 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-06-22 16:40:45 +0200
commitc31f96a8c65c0757078ea77218905c73fc1068d4 (patch)
treefc68a43058ed05e9604514c67240f6a4fa0b25ed /executor/executor_fuchsia.cc
parent14e6c472f54ac36d5bdfe451371c619953eb0a17 (diff)
executor: rework fallback coverage
We have fallback coverage implmentation for freebsd. 1. It's broken after some recent changes. 2. We need it for fuchsia, windows, akaros, linux too. 3. It's painful to work with C code. Move fallback coverage to ipc package, fix it and provide for all OSes.
Diffstat (limited to 'executor/executor_fuchsia.cc')
-rw-r--r--executor/executor_fuchsia.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/executor/executor_fuchsia.cc b/executor/executor_fuchsia.cc
index 6c7657732..c21198449 100644
--- a/executor/executor_fuchsia.cc
+++ b/executor/executor_fuchsia.cc
@@ -25,8 +25,7 @@ int main(int argc, char** argv)
fail("mmap of data segment failed");
install_segv_handler();
- setup_control_pipes();
- receive_execute(true);
+ main_init();
execute_one();
return 0;
}
@@ -53,7 +52,7 @@ void cover_reset(thread_t* th)
{
}
-uint32 read_cover_size(thread_t* th)
+uint32 cover_read_size(thread_t* th)
{
return 0;
}