This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake".
The branch, next has been updated via 402c64f037e55b55e5baabb53ef6ee736306ef0b (commit) via fbf6635b217265c73a2c7ecf7a022f2692473e3e (commit) from 2403725e8507400a6c1befe5f0f4006a0e2c0798 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=402c64f037e55b55e5baabb53ef6ee736306ef0b commit 402c64f037e55b55e5baabb53ef6ee736306ef0b Merge: 2403725 fbf6635 Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Tue Oct 7 15:13:13 2014 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Tue Oct 7 15:13:13 2014 -0400 Merge topic 'msan-support' into next fbf6635b add missing file. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fbf6635b217265c73a2c7ecf7a022f2692473e3e commit fbf6635b217265c73a2c7ecf7a022f2692473e3e Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Tue Oct 7 15:12:45 2014 -0400 Commit: Bill Hoffman <bill.hoff...@kitware.com> CommitDate: Tue Oct 7 15:12:45 2014 -0400 add missing file. diff --git a/Tests/CTestTestMemcheck/testMemorySanitizer.cmake b/Tests/CTestTestMemcheck/testMemorySanitizer.cmake new file mode 100644 index 0000000..c87af9a --- /dev/null +++ b/Tests/CTestTestMemcheck/testMemorySanitizer.cmake @@ -0,0 +1,27 @@ +# this file simulates a program that has been built with thread sanitizer +# options + +message("MSAN_OPTIONS = [$ENV{MSAN_OPTIONS}]") +string(REGEX REPLACE ".*log_path=\"([^\"]*)\".*" "\\1" LOG_FILE "$ENV{MSAN_OPTIONS}") +message("LOG_FILE=[${LOG_FILE}]") + +# if we are not asked to simulate address sanitizer don't do it +if(NOT "$ENV{MSAN_OPTIONS}]" MATCHES "simulate_sanitizer.1") + return() +endif() +# clear the log file +file(REMOVE "${LOG_FILE}.2343") + +# create an error of each type of thread santizer +# these names come from tsan_report.cc in llvm + +file(APPEND "${LOG_FILE}.2343" +"================================================================= +==28423== WARNING: MemorySanitizer: use-of-uninitialized-value + #0 0x7f4364210dd9 in main (/home/kitware/msan/msan-bin/umr+0x7bdd9) + #1 0x7f4362d9376c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226 + #2 0x7f4364210b0c in _start (/home/kitware/msan/msan-bin/umr+0x7bb0c) + +SUMMARY: MemorySanitizer: use-of-uninitialized-value ??:0 main +Exiting +") ----------------------------------------------------------------------- Summary of changes: Tests/CTestTestMemcheck/testMemorySanitizer.cmake | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Tests/CTestTestMemcheck/testMemorySanitizer.cmake hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits