[Please keep me in CC as I'm not subscribed to this mailing list]

Hello,

I recently implemented an external process management tool and cannot get 
coverage report of the code that runs right before execve after calling fork. 
It is specified in the GCC doc that it should work given gnu++11 flag has been 
specified, which is the case here.
However when reading the generated coverage report, the code between fork and 
execve is identified as not called on the codecov report: (see line 196 of the 
following link 
https://codecov.io/gh/BlockProject3D/Framework/src/ProcessManagement/Base/src/Framework/System/Process.cpp).
I tried to specify the flag directly in cmake with target_compile_options but 
still nothing more. I even tried to call directly __gcov_flush() before execve 
and in the error case of execve but for some reasons gcc complains that it is 
not a known name.

Thanks by advance,
Yuri6037

Reply via email to