Document LLVM_USE_SANITIZER CMake option
authorAlexey Samsonov <samsonov@google.com>
Tue, 9 Jul 2013 10:56:13 +0000 (10:56 +0000)
committerAlexey Samsonov <samsonov@google.com>
Tue, 9 Jul 2013 10:56:13 +0000 (10:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185925 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CMake.rst

index 8459081fb8b3118b6f736850e317807e51f1ce7b..cd1bb978940511ba5ecc573743f2be80d1ed5130 100644 (file)
@@ -275,6 +275,11 @@ LLVM-specific variables
   Build with zlib to support compression/uncompression in LLVM tools.
   Defaults to ON.
 
+**LLVM_USE_SANITIZER**:STRING
+  Define the sanitizer used to build LLVM binaries and tests. Possible values
+  are ``Address``, ``Memory`` and ``MemoryWithOrigins``. Defaults to empty
+  string.
+
 Executing the test suite
 ========================