[LLVMdev] Why are LLVM libraries enormous?

Trevor Harmon
Tue, 27 Jul 2010 20:06:27 -0000

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
> 21,084,666   56,724,338  LLVMCore.lib
> 14,624,218   37,070,488  LLVMAnalysis.lib
> 11,987,202   30,711,450  LLVMScalarOpts.lib
>  8,600,668   23,837,478  LLVMSelectionDAG.lib
>  8,634,324   23,802,952  LLVMTransformUtils.lib
>  8,347,134   20,840,744  LLVMipo.lib
>  5,061,702   11,028,744  LLVMX86CodeGen.lib
>  3,857,612    9,270,012  LLVMInstCombine.lib
>  3,330,608    7,820,760  LLVMSupport.lib

Not sure about Win32, but here are some numbers on OS X for comparison:

5,282,356 libLLVMCodeGen.a
3,087,436 libLLVMAnalysis.a
1,682,476 libLLVMInstCombine.a

I believe these are all release builds.

Trevor