This is the mail archive of the gcc-help@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]

How to get address of current function ?


Hi,

     How do I get the start address of current function
if I don't know the function name ? I know the operator
addressof(&) that can get the start address of known
functions. What if the function name is unknown ? Is
there any pointer that acts like __FUNCTION__ which
changes according to function? Thanks for your time.

Regards,
Ee Huey

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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