[llvm-dev] win32 lld Linker speed

Carlo Kok via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 29 06:06:17 PDT 2018


I've got a customer project that emits a 18 MB .exe and 9 MB .exe.pdb;
It takes about 6 minutes to link on their system, 2 minutes to link on
mine (this a regullar lld -flavor link  /opt:lldlto=0). the input is
about 61mb of bitcode files (originally about 2100 object files) with
debug info (both pdb and dwarf get emitted) stored in 5 .lib files,
compiled with -O0 but with thin-lto (without thin-lto it wasn't faster).
Is this something to be expected? 

Can I do something to improve the speed? 

Thanks,

Carlo Kok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180329/57405f36/attachment.html>


More information about the llvm-dev mailing list