Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a README.dev file with some info about valgrind and a suppression…
…s file for valgrind
- Loading branch information
Showing
2 changed files
with
492 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
== Running valgrind | ||
|
||
This distro ships with a valgrind suppressions file that suppresses leaks that | ||
occur from inside the Perl core as well as leaks from other modules. | ||
|
||
You can valgrind with a command like this: | ||
|
||
./Build && \ | ||
valgrind --leak-check=full --num-callers=50 --suppressions=./valgrind.supp \ | ||
-- perl -Mblib -I ../MaxMind-DB-Reader-perl/lib/ t/MaxMind/DB/Reader.t | ||
|
||
This assumes you have the MaxMind-DB-Reader-perl repo checked out in the | ||
parent directory. |
Oops, something went wrong.