This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GOOGLE] Writes annotation info in elf section.
- From: Xinliang David Li <davidxl at google dot com>
- To: Dehao Chen <dehao at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 12 Mar 2014 16:10:28 -0700
- Subject: Re: [GOOGLE] Writes annotation info in elf section.
- Authentication-results: sourceware.org; auth=none
- References: <CAO2gOZUgGC9=Ris-gymwt2_Tt6S6G1Gh5zGEDgAOsrXvgDVUBA at mail dot gmail dot com> <CAAkRFZJVA3j9bc4qhpoodk7NJ=mzUVTsg1DLVsNrixHeEeQ-iA at mail dot gmail dot com>
Dehao explained that the data needs to merged during link time to give
meaningful diagnostics.
Ok for google branch.
David
On Wed, Mar 12, 2014 at 3:55 PM, Xinliang David Li <davidxl@google.com> wrote:
> Why is it not enough to emit warnings during build time when source
> code changes signifcantly?
>
> David
>
> On Tue, Mar 11, 2014 at 4:27 PM, Dehao Chen <dehao@google.com> wrote:
>> During AutoFDO annotation, we want to record the annotation stats into
>> an elf section, so that we can calculate how much percentage of the
>> profile is annotated, which can be used as an indicator whether code
>> has changed significantly comparing with the profiled source.
>>
>> Bootstrapped and performance test on-going.
>>
>> OK for google-4_8?
>>
>> Thanks,
>> Dehao