[Bug gcov-profile/93623] No need to dump gcdas when forking
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 8 14:48:57 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93623
--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to calixte from comment #11)
> Why did you remove __gcov_flush ?
It is not a supported __gcov_* library call:
https://gcc.gnu.org/onlinedocs/gcc/Gcov-and-Optimization.html
You should rather call __gcov_dump and __gcov_reset functions.
> FYI, we use it in Firefox to dump counters on SIGUSR1:
> https://searchfox.org/mozilla-central/source/tools/code-coverage/
> CodeCoverageHandler.cpp#49
More information about the Gcc-bugs
mailing list