From 9113f824bdf181ceee43035f5f781031b1f7f4db Mon Sep 17 00:00:00 2001 From: Soonho Kong Date: Tue, 10 Sep 2013 14:30:01 -0700 Subject: [PATCH] Use '--track-origins=yes' option in valgrind --- src/CTestConfig.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CTestConfig.cmake b/src/CTestConfig.cmake index a88bd73db..5e93f5268 100644 --- a/src/CTestConfig.cmake +++ b/src/CTestConfig.cmake @@ -12,8 +12,8 @@ set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") # Specify MEMCHECK Option: http://valgrind.org/docs/manual/mc-manual.html # Note: We use "--trace-children=yes" to valgrind-ise child processes (follow execve) # Note: We turn off "--show-reachable=yes" option. -SET (VALGRIND_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes --workaround-gcc296-bugs=yes --num-callers=50 --trace-children=yes --leak-check=full ") -SET (CTEST_MEMORYCHECK_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes --workaround-gcc296-bugs=yes --num-callers=50 --trace-children=yes --leak-check=full ") +SET (VALGRIND_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes --workaround-gcc296-bugs=yes --num-callers=50 --trace-children=yes --leak-check=full --track-origins=yes") +SET (CTEST_MEMORYCHECK_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes --workaround-gcc296-bugs=yes --num-callers=50 --trace-children=yes --leak-check=full --track-origins=yes") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "cmacslab2.modck.cs.cmu.edu")