diff options
author | Brad King <brad.king@kitware.com> | 2014-07-16 15:51:21 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-07-16 15:51:21 (GMT) |
commit | 66e88af6d0e3fab6cba6876cf26dd30ebbb733fb (patch) | |
tree | 49a2412bf036c8eaa6a5e1af4aab9f5a52c8656d /Source/CTest/cmCTestMemCheckHandler.h | |
parent | 3dce6aa39d1dc2c1f88edebc91ab60de9d3ff6b1 (diff) | |
parent | 1e005eadbc6e687217f484c0c2247a71124aa65e (diff) | |
download | CMake-66e88af6d0e3fab6cba6876cf26dd30ebbb733fb.zip CMake-66e88af6d0e3fab6cba6876cf26dd30ebbb733fb.tar.gz CMake-66e88af6d0e3fab6cba6876cf26dd30ebbb733fb.tar.bz2 |
Merge topic 'thread-sanitizer'
1e005ead CTest: Fix MemoryCheckType from 'ctest -T MemCheck'
44726714 ctest_memcheck: Add support for memory and leak sanitizer.
Diffstat (limited to 'Source/CTest/cmCTestMemCheckHandler.h')
-rw-r--r-- | Source/CTest/cmCTestMemCheckHandler.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.h b/Source/CTest/cmCTestMemCheckHandler.h index ffe57f6..2630fde 100644 --- a/Source/CTest/cmCTestMemCheckHandler.h +++ b/Source/CTest/cmCTestMemCheckHandler.h @@ -50,7 +50,8 @@ private: PURIFY, BOUNDS_CHECKER, // checkers after hear do not use the standard error list - THREAD_SANITIZER + THREAD_SANITIZER, + ADDRESS_SANITIZER }; public: enum { // Memory faults @@ -132,9 +133,9 @@ private: bool ProcessMemCheckPurifyOutput(const std::string& str, std::string& log, std::vector<int>& results); - bool ProcessMemCheckThreadSanitizerOutput(const std::string& str, - std::string& log, - std::vector<int>& results); + bool ProcessMemCheckSanitizerOutput(const std::string& str, + std::string& log, + std::vector<int>& results); bool ProcessMemCheckBoundsCheckerOutput(const std::string& str, std::string& log, std::vector<int>& results); |