Code coverage tool for compiled programs, Python and Bash which uses debugging information to collect and report data without special compilation options
The exit code m_exitCode isn't set when crashing out with an ev_signal_exit so we don't pass the raised signal up.
By adding the same as the exit case, m_exitCode = ev.data; when a SEGFAULT is hit in the executed code kcov will return it to the caller.
The exit code
m_exitCode
isn't set when crashing out with anev_signal_exit
so we don't pass the raised signal up. By adding the same as the exit case,m_exitCode = ev.data;
when a SEGFAULT is hit in the executed code kcov will return it to the caller.This should resolve issue https://github.com/SimonKagstrom/kcov/issues/314