[lldb-dev] Problem with large sym files (dsymutil speed)

Greg Clayton gclayton at apple.com
Mon Sep 26 09:57:51 PDT 2011


If you are linking a single architecture, unfortunately there isn't much you can do. Linking DWARF is a serialized process where we take DWARF from a bunch of .o files and then make a single out file. All DWARF sections have to be appended to one another and they have interdependencies, so even though dsymutil does use multi-threading to parse 8 .o files ahead, it doesn't help in the long run. clang and llvm-gcc make debug info that is around 4 times bigger that gcc, so this probably makes things worse for you guys.

How big is your dSYM file? 

On Sep 26, 2011, at 6:38 AM, Somorjai, Akos wrote:

> Greg,
> 
> Another issue is dsymutil's speed; it takes about 10 minutes to run it on
> our main executable, which is more than unbearable. Is their anything we
> can do to reduce that time?
> 
> Thanks,
> 
> Akos
> 




More information about the lldb-dev mailing list