This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Testing patch to make FDO profile data tolerate more source changes
- From: Neil Vachharajani <nvachhar at google dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Diego Novillo <dnovillo at google dot com>, janis187 at us dot ibm dot com, jh at suse dot cz, nathan at codesourcery dot com
- Date: Mon, 30 Mar 2009 13:53:47 -0700
- Subject: Testing patch to make FDO profile data tolerate more source changes
Hello,
I'm working on a patch which makes FDO profile data more robust to
source changes. Before I sent the patch to the list for review, I was
wondering how to write a test for this situation. In particular, what
I would like to have is two source files which are similar but not the
same. The first should be compiled and run to generate profile data,
and the generated .gcda file should be used to compile the second
file. I wasn't quite sure how to do this within the DejaGNU framework
and was wondering if anyone had some pointers.
Thanks,
Neil