Kaydet (Commit) 95343c99 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Disable rtl/alloc.h also for Helgrind

Change-Id: I472d11d50a3b0810779108f3f81624ab9880fe8b
üst bdfcc8c9
......@@ -107,10 +107,12 @@ for arg in $@ $VALGRINDOPT ; do
VALGRINDCHECK="valgrind --tool=$VALGRIND --trace-children=yes $valgrind_skip --num-callers=50 --error-limit=no"
echo "use kill -SIGUSR2 pid to dump traces of active allocations"
checks="c$checks"
if [ "$VALGRIND" = "memcheck" ] ; then
case $VALGRIND in
helgrind|memcheck)
export G_SLICE=always-malloc
export GLIBCXX_FORCE_NEW=1
fi
;;
esac
else
echo "Error: Can't find the tool \"valgrind\", --valgrind option will be ignored"
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment