From b904ce177803224ea39b709d1236bc61123e669e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 8 Aug 2005 11:48:35 +0000 Subject: Rather than adjusting the way ldso allocates memory, for the time being simply add a series of suppressions to make valgrind ignore all memory mmaped by uClibc's ldso. --- package/valgrind/valgrind.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 package/valgrind/valgrind.sh (limited to 'package/valgrind/valgrind.sh') diff --git a/package/valgrind/valgrind.sh b/package/valgrind/valgrind.sh new file mode 100755 index 000000000..4b8eb2e57 --- /dev/null +++ b/package/valgrind/valgrind.sh @@ -0,0 +1,10 @@ +#!/bin/sh -e +# +# Valgrind wrapper + +# Use special suppression file for uClibc +export VALGRIND_OPTS="$VALGRIND_OPTS --suppressions=/usr/lib/valgrind/uclibc.supp" + +# Use 'exec' to avoid having another shell process hanging around. +exec $0.bin "$@" + -- cgit v1.2.3