aboutsummaryrefslogtreecommitdiffstats
path: root/tools/valgrind.mk
blob: 25a3488cd1bac13799f54f46c17686edaf2802bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
VALGRIND = valgrind --tool=memcheck \
    --verbose \
    --leak-check=full \
    --leak-resolution=high \
    --suppressions=$(top_srcdir)/tools/telepathy-glib.supp \
    --child-silent-after-fork=yes \
    --num-callers=20 \
    --gen-suppressions=all

# other potentially interesting options:
# --show-reachable=yes   reachable objects (many!)
# --read-var-info=yes    better diagnostics from DWARF3 info
# --track-origins=yes    better diagnostics for uninit values (slow)