This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to get address of current function ?
- To: gcc-help at gcc dot gnu dot org
- Subject: How to get address of current function ?
- From: "Yap Ee Huey" <yapeehuey at hotmail dot com>
- Date: Wed, 07 Feb 2001 10:54:47
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.