This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] improve entry/exit instrumentation wrt trampolines



> On 22 Jun 2018, at 17:44, Olivier Hainque <hainque@adacore.com> wrote:

> Receiving the actual function address would seem more
> useful for function-instrumentation purposes, and this
> patch adjusts the compiler to do that instead.
> 
> 2018-06-22  Olivier Hainque  <hainque@adacore.com>
> 
> 	* gimplify.c (gimplify_function_tree): Prevent creation
> 	of a trampoline for the address of the current function
> 	passed to entry/exit instrumentation hooks.

With the patch attached ...

Thanks in advance,

Regards,

Olivier

Attachment: instrument-no-trampoline.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]