[PATCH] Add support for profile merging hooks

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Wed Apr 23 17:35:00 GMT 2003


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



More information about the Gcc-patches mailing list