This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
sizeof(function) functionality
- From: Kristis Makris <kristis dot makris at asu dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: 06 Jul 2003 16:06:49 -0700
- Subject: sizeof(function) functionality
Hello,
Other than instantiating a volatile variable right after a function and
evaluating variable - &funcname, is there another way of retrieving the
size a function occupies in memory using gcc ? Is there a way to tell
gcc to create additional symbols when it compiles that mark the end of a
function (e.g. __<functionname>_end)?
Thanks,
Kristis