about summary refs log tree commit diff homepage
path: root/utils/valgrind
diff options
context:
space:
mode:
Diffstat (limited to 'utils/valgrind')
-rw-r--r--utils/valgrind/README.txt2
-rw-r--r--utils/valgrind/valgrind-llvm.supp24
-rw-r--r--utils/valgrind/valgrind-stp.supp32
3 files changed, 58 insertions, 0 deletions
diff --git a/utils/valgrind/README.txt b/utils/valgrind/README.txt
new file mode 100644
index 00000000..9f7cb318
--- /dev/null
+++ b/utils/valgrind/README.txt
@@ -0,0 +1,2 @@
+A few valgrind suppression files for known leaks. The LLVM ones may be
+fixed by now.
diff --git a/utils/valgrind/valgrind-llvm.supp b/utils/valgrind/valgrind-llvm.supp
new file mode 100644
index 00000000..43bc5389
--- /dev/null
+++ b/utils/valgrind/valgrind-llvm.supp
@@ -0,0 +1,24 @@
+{ 
+   LLVM:Tmp1
+   Memcheck:Leak
+   fun:_vgrZU_libstdcZpZpZa__Znwj
+   fun:_ZN4llvm*
+}
+{ 
+   LLVM:Tmp2
+   Memcheck:Leak
+   fun:_vgrZU_libcZdsoZa_malloc
+   fun:_ZN4llvm*
+}
+{ 
+   LLVM:Tmp3
+   Memcheck:Leak
+   fun:*nwj*
+   fun:*llvm*
+}
+{ 
+   LLVM:Tmp4
+   Memcheck:Leak
+   fun:malloc
+   fun:*llvm*
+}
diff --git a/utils/valgrind/valgrind-stp.supp b/utils/valgrind/valgrind-stp.supp
new file mode 100644
index 00000000..9dba58f1
--- /dev/null
+++ b/utils/valgrind/valgrind-stp.supp
@@ -0,0 +1,32 @@
+{
+   STP:BeevMgr
+   Memcheck:Leak
+   fun:_vgrZU_libstdcZpZpZa__Znwj
+   fun:_ZN4BEEV7BeevMgr*
+}
+{
+   STP:BeevMgr:strdup
+   Memcheck:Leak
+   fun:_vgrZU_libcZdsoZa_malloc
+   fun:strdup
+   fun:_ZN4BEEV7BeevMgr*
+}
+{
+   STP:c_interface
+   Memcheck:Leak
+   fun:_vgrZU_libstdcZpZpZa__Znwj
+   fun:vc_*
+}
+{
+   STP:BeevMgr:vector
+   Memcheck:Leak
+   fun:_vgrZU_libstdcZpZpZa__Znwj
+   fun:_ZNSt6vector*
+   fun:_ZN4BEEV7BeevMgr*
+}
+{ 
+   LLVM:Tmp1
+   Memcheck:Leak
+   fun:_vgrZU_libstdcZpZpZa__Znwj
+   fun:_ZN4llvm*
+}