[LLVMdev] memory hog llvm-ld

Duncan Sands baldrick at free.fr
Thu Jul 19 00:43:20 PDT 2007


Hi Holger,

> Note that I did specify "-g", but not any "-Ox" switches. That 
> made the size of all *.o files together being 143 MB.

LLVM represents debug info as explicit calls to intrinsics.
This approach has many advantages, but a possible disadvantage
is that it can significantly increase the size of the bitcode.
I don't know if that explains your observations.  I'm curious
to know how gcc stores debug info...

Ciao,

Duncan.



More information about the llvm-dev mailing list