summaryrefslogtreecommitdiff
path: root/tools/valgrind.mk
blob: ab146d42b58eb2fd8463963bc504942f2ad108fa (plain)
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)/tests/suppressions/tpl.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)