Add a valgrind suppression file.

Adding a suppression file reduces the number of false positives from memcheck. Run with:
```
valgrind --suppressions=etc/valgrind-memcheck.supp servo ...
```
For the moment, this just switches off the warnings generated by jemalloc.
This commit is contained in:
Alan Jeffrey 2015-12-17 10:36:03 -06:00
parent 39b205dacc
commit 5ca06b5dcb

View file

@ -0,0 +1,31 @@
{
<je_mallocx:cond>
Memcheck:Cond
fun:je_mallocx
}
{
<je_mallocx:value8>
Memcheck:Value8
fun:je_mallocx
}
{
<je_sdallocx:cond>
Memcheck:Cond
fun:je_sdallocx
}
{
<je_sdallocx:value8>
Memcheck:Value8
fun:je_sdallocx
}
{
<je_tcache_cleanup:cond>
Memcheck:Cond
fun:tcache_destroy.isra.7
fun:je_tcache_cleanup
}
{
<je_tcache_bin_flush_large:cond>
Memcheck:Cond
fun:je_tcache_bin_flush_large
}