[docs] Corrected inaccuracies in Common Problems section.
authorMichael Kruse <llvm-project@meinersbur.de>
Tue, 12 May 2020 14:44:34 +0000 (09:44 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Tue, 12 May 2020 15:09:37 +0000 (10:09 -0500)
commit5c707fd97c4f2a536eab1aac50581b5461bc21dc
treefb6fcca9f956ab3ef57f4a23eb0f25ba03cbc6de
parent87b6fd3e02c696b917a75750dea8e33ce00246ec
[docs] Corrected inaccuracies in Common Problems section.

Changed the language in LLVM_USE_LINKER to more strongly recommend LLD
and to specify that the GNU gold linker is only useful if LLD is
unavailable in binary form and it is the first build of LLVM. Added that
LLD will help when used on ELF-based platforms.

Corrected information in CMAKE_BUILD_TYPE regarding the Release build
type and enabling assertions.

Added option LLVM_ENABLE_ASSERTIONS and mentioned enabling this option
with a Release build as an alternative to using a Debug build.

Specified that the LLVM_OPTIMIZED_TABLEGEN
option is only for Debug builds, that the LLVM_USE_SPLIT_DWARF option
is only available on ELF host platforms, and that setting
CLANG_ENABLE_STATIC_ANALYZER to OFF only slightly improves build time.

These changes address comments made in D75425.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D77346
llvm/docs/GettingStarted.rst