This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Gcc profile questions
- From: Qing Zhao <qing dot zhao at oracle dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 19 Feb 2019 10:19:11 -0600
- Subject: Gcc profile questions
Hi,
Suppose we have a program called foo which is built with gcc -fprofile-generate, Now when foo is executed a bunch of .gcda files are created.
What happens when foo is executed more than once. Are the .gcda files updated with each execution? Or are the .gcda files overwritten with new .gcda files (and thus contain profile info only for the last execution)?
Thanks for the info.
Qing