[LLVMdev] Why are LLVM libraries enormous?

Óscar Fuentes
Tue, 27 Jul 2010 21:02:52 -0000

Trevor Harmon <Trevor.W.Harmon at nasa.gov> writes:

> On Jul 23, 2010, at 10:24 AM, David Piepgrass wrote:
>
>> The top ten LLVM libraries (Win32 *.lib) are pretty huge:
>>
>> Release Bld  Debug Bld   Name
>> 24,510,490   71,038,240  LLVMCodeGen.lib
[snip]
> Not sure about Win32, but here are some numbers on OS X for comparison:
>
> 5,282,356 libLLVMCodeGen.a

Comparing the size of the static libraries makes little sense, and even
less when they are compiled by different tools. What really matters is
the size of the executables.

I agree that LLVM can be considered a heavyweight dependency on this
aspect.

[snip]