[llvm-dev] Tip: How to use less RAM linking LLVM

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 20 11:22:09 PDT 2018


On Thu, 20 Sep 2018 at 10:53, via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> I hope this helps someone. If you have any additional tips, comments or gotchas with this approach, please add them.

LLVM_USE_SPLIT_DWARF=ON also greatly improves the situation by (I
think) skipping linking the debug info entirely. The disadvantage is
that lldb still doesn't quite work on the result (gdb does) and
loading things into gdb takes longer (I think).

Cheers.

Tim.


More information about the llvm-dev mailing list