[LLVMdev] Dynamic Creation of a simple program

Chris Lattner sabre at nondot.org
Mon Mar 14 21:20:41 PST 2005


On Mon, 14 Mar 2005, xavier wrote:

> Could please somebody give some guidelines? Maybe I can compile a 
> program with the LLVM and then load the bytecode in memory and finally 
> dump some kind of text/XML representation which I will use to understand 
> the set of classes needed to dynamically create the sample program

Check out these directories:

examples/ModuleMaker/ : Builds a module from scratch

examples/Fibonacci/
examples/HowToUseJIT/ : Examples building a module and JIT'ing them.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list