sizeof(function) functionality

Kristis Makris kristis.makris@asu.edu
Sun Jul 6 23:07:00 GMT 2003


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 



More information about the Gcc-help mailing list