From 5ca06b5dcb5aa21fb9b39b9d94ff5bb26e3d61ac Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Thu, 17 Dec 2015 10:36:03 -0600 Subject: [PATCH] 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. --- etc/valgrind-memcheck.supp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 etc/valgrind-memcheck.supp diff --git a/etc/valgrind-memcheck.supp b/etc/valgrind-memcheck.supp new file mode 100644 index 00000000000..edd4c768f12 --- /dev/null +++ b/etc/valgrind-memcheck.supp @@ -0,0 +1,31 @@ +{ + + Memcheck:Cond + fun:je_mallocx +} +{ + + Memcheck:Value8 + fun:je_mallocx +} +{ + + Memcheck:Cond + fun:je_sdallocx +} +{ + + Memcheck:Value8 + fun:je_sdallocx +} +{ + + Memcheck:Cond + fun:tcache_destroy.isra.7 + fun:je_tcache_cleanup +} +{ + + Memcheck:Cond + fun:je_tcache_bin_flush_large +}