buildrootschalter/package/valgrind/valgrind.sh
Eric Andersen b904ce1778 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.
2005-08-08 11:48:35 +00:00

11 lines
246 B
Bash
Executable File

#!/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 "$@"