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

Reply via email to