This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GOOGLE, AUTOFDO] Assign different discriminators to calls with the same lineno
- From: Wei Mi <wmi at google dot com>
- To: Xinliang David Li <davidxl at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Dehao Chen <dehao at google dot com>, Cary Coutant <ccoutant at google dot com>
- Date: Thu, 7 Aug 2014 14:49:47 -0700
- Subject: Re: [GOOGLE, AUTOFDO] Assign different discriminators to calls with the same lineno
- Authentication-results: sourceware.org; auth=none
- References: <CA+4CFy6AUJ6UL_RjYBhjWjQA+GBxoac4yh44=UkKBvJAtAekFA at mail dot gmail dot com> <CAAkRFZLYUpSYu7+FUn1j6B9=7pQUFZpLnFF44JUdGfQqPPykvQ at mail dot gmail dot com> <CA+4CFy7n5T0=WUqf0_drSC9J9kwu0VaQM2X5P1umSJvjaA5+qg at mail dot gmail dot com> <CAAkRFZKZXS6aeeU_xH9oskqCfnDGbhOKpMRfNkWqKn8ampruvA at mail dot gmail dot com>
On Thu, Aug 7, 2014 at 2:40 PM, Xinliang David Li <davidxl@google.com> wrote:
> On Thu, Aug 7, 2014 at 2:20 PM, Wei Mi <wmi@google.com> wrote:
>> No, it is not. This IR is dumped before early inline -- just after
>> pass_build_cfg. The line number of the deconstructor is marked
>> according to where its constructor is located,
>
> The definition location or the invocation location?
>
> David
>
The definition location and the invocation location are the same
source line for the case.
Wei.