|extracting the size of a function interms of its local variables email@example.com (V K Prabhu Raj) (2001-01-05)|
|Re: extracting the size of a function interms of its local variables firstname.lastname@example.org (Joachim Durchholz) (2001-01-18)|
|From:||"Joachim Durchholz" <email@example.com>|
|Date:||18 Jan 2001 00:53:06 -0500|
|Posted-Date:||18 Jan 2001 00:53:01 EST|
V K Prabhu Raj <firstname.lastname@example.org> wrote:
> I would like to know what is the cumulative size of local variables in
> a function. Is there a easy way for doing this. I am trying to look
> at the symbol table information (stabs) ,output from the compiler.
Which language? Which compiler?
If you need that information at run-time, or just for a particular run
of a function, it might be easier to look at the stack pointer. (Whether
it's really easier depends heavily on circumstances, but it's an
alternative route to try.)
Return to the
Search the comp.compilers archives again.