[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 5/9] gcov: add new interface and 3.4 and 4.7 format support
On Mon, Oct 10, 2016 at 02:11:58PM +0100, Wei Liu wrote: [...] > > > + > > > +#include "gcov.h" > > > + > > > +/* > > > + * __gcov_init is called by gcc-generated constructor code for each > > > object > > > + * file compiled with -fprofile-arcs. > > > + * > > > + * Although this function is called only during initialization is called > > > from > > > + * a .text section which is still present after initialization so not > > > declare > > > + * as __init. > > > > I don't follow - we do such references elsewhere, so I can't see a > > reason not to follow that model here too as long the call here > > happens before .init.* get discarded. > > > > This is residual from previous implementation. I haven't checked if the > statement is true or not. If this statement is not true I'm happy to > make corresponding adjustments. It turns out that annotating __gcov_init as __init works. I will make that adjustment in next version. Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |