[llvm-dev] Pardon the newbie question

pawel k. via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 15 16:12:24 PDT 2021


Thank you thank you. Im heading for split dwarf. Im pondering g1 debug
options as I dont need gdb very much mostly lineinfos would do for asserts
and such.

Best regards,
Pawel Kunio

pt., 16.04.2021, 00:58 użytkownik Joerg Sonnenberger via llvm-dev <
llvm-dev at lists.llvm.org> napisał:

> On Thu, Apr 15, 2021 at 10:05:51PM +0200, pawel k. via llvm-dev wrote:
> > Hello,
> > Im trying to build trunk clang in debug version on oldish ubuntu with low
> > mem. Linking lli takes ages and fails on low mem. Is there a chance
> > building would succeed if i used lld instead of ld? If so is there an
> > option either to force lld or whole clang toolchain use in cmake instead
> of
> > default gcc (both gcc and clang are avail on system)? Otherwise I think
> ill
> > stick with release.
>
> Your best options for that are using DWARF fusion
> (-DLLVM_USE_SPLIT_DWARF) or as separate shared libraries
> (-DBUILD_SHARED_LIBS). The former will punish the gdb load time and the
> latter will penalize execution speed.
>
> Joerg
> _______________________________________________
> 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/20210416/0ab42825/attachment.html>


More information about the llvm-dev mailing list