[LLVMdev] measuring the stack size
proguan at gmail.com
Thu Apr 17 19:01:34 PDT 2008
> Date: Thu, 17 Apr 2008 13:54:12 -0400
> From: "Jonathan S. Shapiro" <shap at eros-os.com>
> > The GC infrastructure exposes this information in a framework suitable
> > for emitting metadata tables from a compiler plugin, if your interest
> > lies in that direction.
> That too, but my immediate interest was computing an upper bound on
> stack size for the Coyotos kernel.
Does 'llvm.frameaddress' work for this purpose? Have you tried it?
It seems 'llvm.frameaddress' is not very precise.
Is it possible to compute the upper bound of stack size in bits?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev