diff options
author | Michal Gorny <mgorny@gentoo.org> | 2017-01-02 18:19:35 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2017-01-02 18:19:35 +0000 |
commit | 89b6f16b3e8465884aa6f181553cc69270b8ebcd (patch) | |
tree | fc4b1f3c5254f122665c81ebf7003d68f8b3fae8 /llvm/docs/CMake.rst | |
parent | 7b83732a4025b5a3c652bfb585628104d995df8d (diff) | |
download | bcm5719-llvm-89b6f16b3e8465884aa6f181553cc69270b8ebcd.tar.gz bcm5719-llvm-89b6f16b3e8465884aa6f181553cc69270b8ebcd.zip |
[cmake] Add LLVM_ENABLE_DIA_SDK option, and expose it in LLVMConfig
Add an explicit LLVM_ENABLE_DIA_SDK option to control building support
for DIA SDK-based debugging. Control its value to match whether DIA SDK
support was found and expose it in LLVMConfig (alike LLVM_ENABLE_ZLIB).
Its value is needed for LLDB to determine whether to run tests requiring
DIA support. Currently it is obtained from llvm/Config/config.h;
however, this file is not available for standalone builds. Following
this change, LLDB will be modified to use the value from LLVMConfig.
Differential Revision: https://reviews.llvm.org/D26255
llvm-svn: 290818
Diffstat (limited to 'llvm/docs/CMake.rst')
-rw-r--r-- | llvm/docs/CMake.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst index 7ec67603c07..28b6ea3959b 100644 --- a/llvm/docs/CMake.rst +++ b/llvm/docs/CMake.rst @@ -368,6 +368,10 @@ LLVM-specific variables Enable building with zlib to support compression/uncompression in LLVM tools. Defaults to ON. +**LLVM_ENABLE_DIA_SDK**:BOOL + Enable building with MSVC DIA SDK for PDB debugging support. Available + only with MSVC. Defaults to ON. + **LLVM_USE_SANITIZER**:STRING Define the sanitizer used to build LLVM binaries and tests. Possible values are ``Address``, ``Memory``, ``MemoryWithOrigins``, ``Undefined``, ``Thread``, |