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: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Dehao Chen <dehao at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, David Li <davidxl at google dot com>
- Date: Thu, 11 Apr 2013 23:04:26 +0200
- 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>
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