This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Google] Use line offset instead of absolute lineno to represent AutoFDO profile
- From: Xinliang David Li <davidxl at google dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: Dehao Chen <dehao at google dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 11 Apr 2013 14:16:47 -0700
- Subject: Re: [Google] Use line offset instead of absolute lineno to represent AutoFDO profile
- References: <CAO2gOZUBkZ87=e=B6o=mShZxa+n1u_MzE-7229rBiGhV8A3nrA at mail dot gmail dot com> <CABu31nM4A_MeU3-PXkS4T2WJoD8DNSZSXh6w4YQFRWeuT_Kb-Q at mail dot gmail dot com>
yes -- Dehao first needs to rip out some internal dependencies for the
profile generation tool before it can be pushed upstream.
David
On Thu, Apr 11, 2013 at 2:04 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> On Thu, Apr 11, 2013 at 1:47 AM, Dehao Chen wrote:
>> Hi,
>>
>> This patch
>> 1. Uses relative line offset (lineno - start_lineno_of_function) to
>> represent AutoFDO profile. This ensures profile still work for
>> modified source code.
>
> Is this something that is possible to do on trunk, too?
> Sounds like a smart and useful idea.
>
> Ciao!
> Steven