This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Portability of .gcda files for PGO
- From: Scott Meyers <NeverRead at aristeia dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 28 Jun 2011 17:21:44 -0700
- Subject: Portability of .gcda files for PGO
Suppose I want to build an instrumented executable (i.e., build with
-fprofile-generate) on my development machine, copy that executable over
to a testing machine, run the program and collect the instrumentation
data there (.gcda files), then copy the data back to my development
machine for a final build (with -fprofile-use). Can I do that?
Thanks,
Scott