[llvm-dev] Can I build llvm with only a handful of source files compiled for debug?

Rui Ueyama via llvm-dev llvm-dev at lists.llvm.org
Sun Aug 18 23:29:49 PDT 2019


Since we are talking about a long link time and no one has mentioned about
lld so far, I'd like to make sure that you are using lld, which is
significantly faster than most other linkers.

On Thu, Aug 15, 2019 at 3:40 AM Robert Henry via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> In order to minimize edit/compile/debug turn time, is there a way to
> compile llvm tools so that the majority of the files are compiled as if for
> release (eg, no debug symbols), and only the handful of files that I have
> touched are compiled for debugging? This will reduce the load on the file
> system, linker and gdb tremendously.  At present, AFAICT, it's all or
> nothing.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190819/8b37f4e7/attachment.html>


More information about the llvm-dev mailing list