Setting Return Address
Laurent Burgy
laurent.burgy@gmail.com
Thu Mar 12 00:43:00 GMT 2009
>
> I'm not really clear on where you want to do this. Do you want to use a
> compiler option to change the way that your code is compiled? gcc
> doesn't have anything like that today (other than
> -finstrument-functions).
I would like to do exactly what can be done with
__cyg_profile_func_exit but for one particular function (without using
a compiler option if possible). The problem that i have with the
-finstrument-functions is that it instruments all the functions.
I want to know if there's an easy way to do leveraging some hooks in gcc...
Thanks
Laurent
More information about the Gcc-help
mailing list