[LLVMdev] LLVM footprint

Chris Lattner sabre at nondot.org
Mon Dec 3 14:58:09 PST 2007


On Mon, 3 Dec 2007, Benjamin Smedberg wrote:
> These are great tips, thanks... is it possible to avoid linking the
> interpreter as well? That is, I'm pretty sure I always want to JIT code and
> never interpret it, but it looks like I currently have to pay a codesize
> penalty for the interpreter anyway.

Yep, specifying 'jit' as a component doesn't pull in the interpreter, you 
need to specify "native jit interpreter" to llvm-config to get both.

> Right now this is personal experimentation, but if Mozilla decides to use te
> LLVM JIT for some of our Mozilla2 projects we'll definitely be contributing
> to reduce the footprint as much as possible, as well as the MSVC thiscall
> support I mentioned before.

Excellent!

-Chris

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



More information about the llvm-dev mailing list