mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 08:13:34 +08:00
b904ce1778
time being simply add a series of suppressions to make valgrind ignore all memory mmaped by uClibc's ldso.
11 lines
246 B
Bash
Executable File
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 "$@"
|
|
|