[LLVMdev] JIT and anonymous procs

Chris Lattner sabre at nondot.org
Wed Mar 26 10:40:59 PDT 2008


On Wed, 26 Mar 2008, Jonathan S. Shapiro wrote:
> The Kaleidoscope tutorial has us "interpreting" top-level expressions by
> generating a one-shot anonymous procedure and executing that. Once the
> expressions have been executed, these procedures will never be called
> again.
>
> How can the associated storage for this anonymous procedure be
> reclaimed?

All functions in the tutorial are referenced by their Function*.  The 
Function* uniquely identifies a function and is independent of the name.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list