summaryrefslogtreecommitdiff
path: root/Source/CTest/cmCTestMemCheckHandler.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2014-07-14 17:01:47 -0400
committerBrad King <brad.king@kitware.com>2014-07-16 11:50:23 -0400
commit44726714322ca0b75628e234229f4583a480d7ec (patch)
tree5e5ffa1fb65bec92047096f68f0d7defe5be1108 /Source/CTest/cmCTestMemCheckHandler.h
parent49bf3e7d8daab2a1e7ba435d011618bd2c516766 (diff)
downloadcmake-44726714322ca0b75628e234229f4583a480d7ec.tar.gz
ctest_memcheck: Add support for memory and leak sanitizer.
This adds support for memory and leak sanitizers. This is built into clang and gcc 4.8 and new compilers. It is activated with a -f switch during compile.
Diffstat (limited to 'Source/CTest/cmCTestMemCheckHandler.h')
-rw-r--r--Source/CTest/cmCTestMemCheckHandler.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.h b/Source/CTest/cmCTestMemCheckHandler.h
index ffe57f6e77..2630fde4be 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);