[LLVMdev] Why are LLVM libraries enormous?[MESSAGE NOT SCANNED]
marks at dcs.gla.ac.uk
Wed Jul 28 12:29:20 PDT 2010
Reid Kleckner wrote:
> On Wed, Jul 28, 2010 at 9:01 AM, David Piepgrass
> <dpiepgrass at mentoreng.com> wrote:
>>> A LLVM JIT compiler for x86 under 1 MB? I doubt it is possible without
>>> a major rewriting of LLVM.
>> Even with no optimizations? Drat. That means I can't use it.
> Why? I'd never checked, but I always assumed the LLVM JIT was much
> larger than 3.4 MB.
> For comparison:
> [rnk at tamalpais google3]$ du -h /usr/lib/gcc/x86_64-linux-gnu/4.4/cc1plus
> 10M /usr/lib/gcc/x86_64-linux-gnu/4.4/cc1plus
> [rnk at tamalpais google3]$ du -h `which python2.6`
> 2.5M /usr/bin/python2.6
> It seems reasonable that a JIT compiler with optimizers would weigh in
> somewhere between an interpreter and a full C++ compiler.
You are forgetting that python2.6 includes a lot of libraries.
The object file for the interpreter is about 130k.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev