Re: Gcc profile questions

2019-02-19 Thread Richard Biener
On February 19, 2019 5:19:11 PM GMT+01:00, Qing Zhao wrote: >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

Gcc profile questions

2019-02-19 Thread Qing Zhao
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