[PATCH] D77346: [docs] Corrected inaccuracies in Common Problems section

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 10:47:32 PDT 2020


Meinersbur added a comment.

In the summary, could you mention this addresses additional comments from D75425 <https://reviews.llvm.org/D75425>?



================
Comment at: llvm/docs/GettingStarted.rst:1108
  * -DLLVM_USE_LINKER
-   Setting this option to either gold or lld will significantly improve
-   performance. In the case that you are compiling lld, you may wish to use the
-   gold linker as a faster alternative.
+   Setting this option to lld will significantly improve performance. If you are
+   building LLVM for the first time and lld is not available to you as a binary 
----------------
Could you clarify that it reduces linking time for the LLVM excecutables (and not e.g. performance of programs compiled with clang)


================
Comment at: llvm/docs/GettingStarted.rst:1156
+   generate the debug information in the form of a DWARF object file (with the 
+   extension .dwo). This option is only available on Linux.
 
----------------
I am not sure this is Linux-only. It certainly requires DWARF debug information (.i.e no Windows PDB), but It will probably work on BSDs and maybe also using the target `x86_64-w64-mingw32`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77346/new/

https://reviews.llvm.org/D77346





More information about the llvm-commits mailing list