Like __cyg_profile_func_exit but with the return value instead of the call site

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I
I wanted to develop something similar to __cyg_profile_func_exit but
instead of having the call site I would like to have the actual value
returned.
With gcc-4.3.3, the expand_builtin_profile_func in builtins.c makes this call:
  emit_library_call (which, LCT_NORMAL, VOIDmode, 2, this, Pmode,
		     expand_builtin_return_addr (BUILT_IN_RETURN_ADDRESS,
						 0),
		     Pmode);

  Is there a way to replace expand_builtin_return_addr to get the
value returned ?


thanks

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux