Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 747 Bytes

valgrind.md

File metadata and controls

19 lines (13 loc) · 747 Bytes

Valgrind

If you're using a Clang, you need at least Valgrind 3.20+ for proper DWARF5 support.

Installing Valgrind from source is straightforward if needed: https://valgrind.org/downloads/repository.html.

Valgrind can then be run per the developer notes:

valgrind --suppressions=contrib/valgrind.supp build/bin/test_bitcoin

valgrind --suppressions=contrib/valgrind.supp \
      --leak-check=full \
      --show-leak-kinds=all \
      build/bin/test_bitcoin --log_level=test_suite

./build/test/functional/test_runner.py --valgrind

valgrind -v --leak-check=full --show-leak-kinds=all build/bin/bitcoind -printtoconsole -prune=880