[LLVMdev] Accounting for stack space
Sandro Magi
naasking at gmail.com
Sun Jul 8 13:13:12 PDT 2007
How about if I were to use LLVM's JIT? I suspect plenty of allocations
are performed in the JIT.
Sandro
On 6/20/07, Chris Lattner <sabre at nondot.org> wrote:
> On Wed, 20 Jun 2007, Sandro Magi wrote:
> > To this end, are there any implicit allocations being done by
> > generated LLVM code, other than the system stack?
>
> heap allocations? Only malloc/free. Note that the compiler does generate
> calls to runtime libraries (e.g. libstdc++ and libgcc), we don't have
> control over when they do allocations. The libstdc++ calls show up in the
> .ll file, but the libgcc ones don't. I don't think any libgcc routines do
> heap allocations.
>
> -Chris
>
More information about the llvm-dev
mailing list