[Bug gcov-profile/110827] C++20 coroutines aren't being measured by gcov
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 24 15:24:09 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110827
--- Comment #20 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Michael Duggan from comment #19)
> I submitted a patch.
Yes a saw that - thanks, it does need other people to review it though,
> I also recently thought of another potential solution.
> We could patch the code that outputs the function information for the graph
> file, changing it to *not* mark the actor function as artificial. That code
> is in gcc proper, so should have access to the flags you mention.
Or we could add a new kind of function to those gcov can recognise?
(as you say if we're emitting from the compiler we have access to the state and
therefore we have more flexibility).
This is probably something for GCC-16 though.
More information about the Gcc-bugs
mailing list