|extracting the size of a function interms of its local variables firstname.lastname@example.org (V K Prabhu Raj) (2001-01-05)|
|Re: extracting the size of a function interms of its local variables email@example.com (Joachim Durchholz) (2001-01-18)|
|From:||"Joachim Durchholz" <firstname.lastname@example.org>|
|Date:||18 Jan 2001 00:53:06 -0500|
|Posted-Date:||18 Jan 2001 00:53:01 EST|
V K Prabhu Raj <email@example.com> 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.