summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-11 14:58:55 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-01-11 14:58:55 (GMT)
commit12d5ccd10a451301bf3cbdefe8fde744bf6c9467 (patch)
treefd9ac2a5e522207f547706e0893c0ff78612ecc5 /Help
parent9a670222758bff23645df36a5cb9d98cb1bafa8e (diff)
parente537bd91129fc1616f787b64024f1b08d0f7ae45 (diff)
downloadCMake-12d5ccd10a451301bf3cbdefe8fde744bf6c9467.zip
CMake-12d5ccd10a451301bf3cbdefe8fde744bf6c9467.tar.gz
CMake-12d5ccd10a451301bf3cbdefe8fde744bf6c9467.tar.bz2
Merge topic 'ctest_memcheck-leak_sanitizer'
e537bd91 ctest_memcheck: do not add detect_leaks=1 to ASAN_OPTIONS 0a2e5885 ctest_memcheck: join *SAN_OPTIONS with : cdacfbd2 MEMORYCHECK_SUPPRESSIONS_FILE: add support for sanitizers cf590c12 ctest_memcheck: add support for standalone LeakSanitizer
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/ctest_memcheck-leak_sanitizer.rst19
-rw-r--r--Help/variable/CTEST_MEMORYCHECK_TYPE.rst2
2 files changed, 20 insertions, 1 deletions
diff --git a/Help/release/dev/ctest_memcheck-leak_sanitizer.rst b/Help/release/dev/ctest_memcheck-leak_sanitizer.rst
new file mode 100644
index 0000000..3fa5c49
--- /dev/null
+++ b/Help/release/dev/ctest_memcheck-leak_sanitizer.rst
@@ -0,0 +1,19 @@
+ctest_memcheck-leak_sanitizer
+=============================
+
+* The :command:`ctest_memcheck` command learned to support ``LeakSanitizer``
+ independently from ``AddressSanitizer``.
+
+* The :command:`ctest_memcheck` command no longer automatically adds
+ ``leak_check=1`` to the options used by ``AddressSanitizer``. The default
+ behavior of ``AddressSanitizer`` is to run `LeakSanitizer` to check leaks
+ unless ``leak_check=0``.
+
+* The :command:`ctest_memcheck` command learned to read the location of
+ suppressions files for sanitizers from the
+ :variable:`CTEST_MEMORYCHECK_SUPPRESSIONS_FILE` variable.
+
+* The :command:`ctest_memcheck` command was fixed to correctly append extra
+ sanitizer options read from the
+ :variable:`CTEST_MEMORYCHECK_SANITIZER_OPTIONS` variable to the environment
+ variables used internally by the sanitizers.
diff --git a/Help/variable/CTEST_MEMORYCHECK_TYPE.rst b/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
index b963293..b8b4c30 100644
--- a/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
+++ b/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
@@ -4,5 +4,5 @@ CTEST_MEMORYCHECK_TYPE
Specify the CTest ``MemoryCheckType`` setting
in a :manual:`ctest(1)` dashboard client script.
Valid values are ``Valgrind``, ``Purify``, ``BoundsChecker``, and
-``ThreadSanitizer``, ``AddressSanitizer``, ``MemorySanitizer``, and
+``ThreadSanitizer``, ``AddressSanitizer``, ``LeakSanitizer``, ``MemorySanitizer``, and
``UndefinedBehaviorSanitizer``.