This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add support for profile merging hooks


Hello,

> > some of the rtlopt profiling features require other info in addition
> > to counters be stored in .da file. Merging this extra information by
> > summing it clearly is not the right thing to do, so we added a support
> > for section specific merging functions.
> Is this patch enought so I can simply copy libgcov.c around during next
> rtlopt branch merge?

I think so.

> Is there any reason for not doing the adding as merger function too?

I have no good reason for it; will redo it this way if you prefer.

> (I guess it would be easier to read that way)
> Also what about merging done at profile.c side?

The functions where it is done are not in mainline yet.

Zdenek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]