https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110827

--- Comment #18 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Michael Duggan from comment #17)
> Gcov doesn't have access to the function declaration, only to the
> information that has been output to the count and graph files.  Neither of
> those contain any information (as far as I can tell) that would identify a
> function as an actor function other than the name.  These files could
> potentially be augmented, but that would require a gcov version bump and
> updating the code to DTRT based on the version.  That is beyond what I'm
> interested in implementing currently.

OK.. so I'd go ahead with that version.

> (For that matter, I'm not certain how best, even in gcc itself, to determine
> if a function is an actor function after it has been created other than its
> name.  I don't think it flags it with anything special other than the
> artificial flag.)

coroutine decls are marked as such (they have a flag in the lag-specific data)
and it is also possible to determine _which_ function is in play (ramp, actor,
destroyer).  But that's academic at the moment - a gcov bump would not be a
stage #4 kind of thing, I'd expect.

Reply via email to