Document LLVM_USE_SPLIT_DWARF option

This patch adds a documentation note about the LLVM_USE_SPLIT_DWARF
CMake option which is useful to reduce linker memory usage.
This commit is contained in:
Chris Bieneman 2021-10-25 18:44:46 +05:30 committed by Shivam Gupta
parent 2eb96e1711
commit b2544fb9c5

View File

@ -729,6 +729,12 @@ enabled sub-projects. Nearly all of these variable names begin with
are ``Address``, ``Memory``, ``MemoryWithOrigins``, ``Undefined``, ``Thread``,
``DataFlow``, and ``Address;Undefined``. Defaults to empty string.
**LLVM_USE_SPLIT_DWARF**:BOOL
If enabled CMake will pass ``-gsplit-dwarf`` to the compiler. This option
reduces link-time memory usage by reducing the amount of debug information that
the linker needs to resolve. It is recommended for platforms using the ELF object
format, like Linux systems when linker memory usage is too high.
**SPHINX_EXECUTABLE**:STRING
The path to the ``sphinx-build`` executable detected by CMake.
For installation instructions, see