[LLVMdev] TargetFrameInfo: what's local area offset
Chris Lattner
sabre at nondot.org
Mon Jun 7 11:39:01 PDT 2004
On Mon, 7 Jun 2004, Vladimir Prus wrote:
>
> The TargetFrameInfo, amoung other things, specifies "local area offset" --
> which, as comment say, is:
>
> the offset of the local area from the stack pointer on entrance to a
> function.
>
> The question is -- what's local area? Is this the first stack location which
> can be used by function for allocating its own variables?
Yes, exactly. The local area is the part that is local to the new
function invocation, where automatic variables, allocas, and spills go.
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
More information about the llvm-dev
mailing list