This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/47618] Collecting multiple profiles and using all for PGO
- From: "steven at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Jul 2012 10:46:30 +0000
- Subject: [Bug gcov-profile/47618] Collecting multiple profiles and using all for PGO
- Auto-submitted: auto-generated
- References: <bug-47618-4@http.gcc.gnu.org/bugzilla/>
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.