[llvm-dev] [help] How to speed up compilation? (original) (raw)

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 18 07:56:33 PDT 2016


On 18 October 2016 at 07:51, Renato Golin via llvm-dev <llvm-dev at lists.llvm.org> wrote:

A few hints:

Another one for debug builds on Linux is using split debug info: -DLLVM_USE_SPLIT_DWARF=ON. This speeds up links dramatically (and reduces memory consumption) as long as you've got a new enough gdb (I think lldb is still not quite up to it). It has no effect on macOS though, because a similar configuration is just how things work there.

Tim.



More information about the llvm-dev mailing list