This is the mail archive of the gcc-bugs@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]

[Bug gcov-profile/47618] Collecting multiple profiles and using all for PGO


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47618

--- Comment #6 from Steven Bosscher <steven at gcc dot gnu.org> 2012-07-22 10:46:30 UTC ---
(In reply to comment #2)
> We have one internally at Cavium which is designed to run afterwards and merge
> a few gcda file.  It is designed for how we run multi-core programs and write a
> gcda file for each run.

And now, of course, you're going to contribute that? ;-)


> And there one here:
> http://gcc.gnu.org/ml/gcc-patches/2007-06/msg00423.html

This merges results for files without their own gcno file but mentioned more
than once in gcda files for multiple source files (e.g. for inline functions in
headers). You can't merge multiple gcda files for one source file, but the
patch does provide the infrastructure to support this.


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