util: Add valgrind suppressions and a helper script

pixman-rendering
Andri Yngvason 2020-07-06 17:37:45 +00:00
parent cb2a5f543e
commit 1786e0d549
2 changed files with 13 additions and 0 deletions

6
util/valgrind.sh 100755
View File

@ -0,0 +1,6 @@
#!/bin/sh
valgrind --leak-check=full \
--show-leak-kinds=all \
--suppressions=util/valgrind.supp \
$@

View File

@ -0,0 +1,7 @@
{
Ignore dlopen bug.
Memcheck:Leak
...
fun:_dl_*
...
}