Getting the Return or Frame Address of a Function
Previous
GNU C Language Extensions
Next
These functions may be used to get information about the callers of a function.
__builtin_return_address
__builtin_frame_address