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

steven at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 22 10:46:00 GMT 2012


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.



More information about the Gcc-bugs mailing list