mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
Merge topic 'ctest_memcheck-leak_sanitizer'
e537bd91ctest_memcheck: do not add detect_leaks=1 to ASAN_OPTIONS0a2e5885ctest_memcheck: join *SAN_OPTIONS with :cdacfbd2MEMORYCHECK_SUPPRESSIONS_FILE: add support for sanitizerscf590c12ctest_memcheck: add support for standalone LeakSanitizer
This commit is contained in:
19
Help/release/dev/ctest_memcheck-leak_sanitizer.rst
Normal file
19
Help/release/dev/ctest_memcheck-leak_sanitizer.rst
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user