On 30 May 10:46, Jeff Law wrote:
> On 05/29/14 05:00, Ilya Enkovich wrote:
> >Hi,
> >
> >This patch allows to recognize instrumented call to special function by 
> >using the original function name for recognition.
> >
> >Bootstrapped and tested on linux-x86_64.
> >
> >Thanks,
> >Ilya
> >--
> >gcc/
> >
> >2014-05-29  Ilya Enkovich  <ilya.enkov...@intel.com>
> >
> >     * calls.c (special_function_p): Use original decl name
> >     when analyzing instrumentation clone.
> OK for the trunk when the rest of the patches are approved.
> 
> Presumably we have to use the original decl because we twiddle the
> name in the clones, right?  Just want to make sure I understand why
> we're dong this :-)
That's right. We add ".chkp" prefix for all instrumented functions to keep 
assembler name unique during compilation. Otherwise it becomes a mess with LTO.

Ilya
> 
> 
> jeff
> 

Reply via email to