Bug 1364068 - Add pingsender suppressions for valgrind. r?
MozReview-Commit-ID: FsNiIWnmcyA
--- a/build/valgrind/cross-architecture.sup
+++ b/build/valgrind/cross-architecture.sup
@@ -48,16 +48,58 @@
fun:malloc
fun:moz_xmalloc
fun:operator new
fun:_Z21XRE_CreateStatsObjectv
...
}
####################################
+# Intended and third party leaks #
+# by the C pingsender #
+####################################
+
+{
+ pingsender dlopen suppression (bug 1364068 comment 16)
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:_ZN10PingSender11CurlWrapper4InitEv
+ fun:_ZN10PingSender4PostERKSsS1_
+ fun:main
+}
+{
+ pingsender dlopen suppression (bug 1364068 comment 16)
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:_ZN10PingSender11CurlWrapper4InitEv
+ fun:_ZN10PingSender4PostERKSsS1_
+ fun:main
+}
+{
+ pingsender libcurl easy_perform suppression (bug 1364068 comment 16)
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:_ZN10PingSender11CurlWrapper4PostERKSsS2_
+ fun:_ZN10PingSender4PostERKSsS1_
+ fun:main
+}
+{
+ pingsender libcurl easy_perform suppression (bug 1364068 comment 16)
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:_ZN10PingSender11CurlWrapper4PostERKSsS2_
+ fun:_ZN10PingSender4PostERKSsS1_
+ fun:main
+}
+
+####################################
# Leaks in third party libraries #
####################################
{
See bug 793535
Memcheck:Leak
fun:calloc
fun:_dlerror_run