Update valgrind suppression file for new FontConfig code.
authorbungeman <bungeman@google.com>
Tue, 26 Aug 2014 20:48:00 +0000 (13:48 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 26 Aug 2014 20:48:00 +0000 (13:48 -0700)
BUG=skia:2879
R=djsollen@google.com, mtklein@google.com

Author: bungeman@google.com

Review URL: https://codereview.chromium.org/488343003

tools/valgrind.supp

index 40a9b19ea33564f7ca0d9079a6269d5e181ffbdc..1f3e6d9ede8cba949503aaa9be7ba9dc6afe0ade 100644 (file)
     obj:/usr/lib*/libGL.so*
 }
 {
+    #Fixed by FontConfig 2.9.0
+    #http://cgit.freedesktop.org/fontconfig/commit/?id=1c475d5c8cb265ac939d6b9e097666e300162511
     font_config_bug_1
     Memcheck:Addr4
     fun:FcConfigFileExists
 }
 {
+    #https://bugs.freedesktop.org/show_bug.cgi?id=8215
+    #https://bugs.freedesktop.org/show_bug.cgi?id=8428
+    #FcPattern uses 'intptr_t elts_offset' instead of 'FcPatternEltPtr elts',
+    #which confuses valgrind.
     font_config_bug_2
     Memcheck:Leak
-    fun:malloc
-    fun:FcFontSetCreate
-}
-{
-    font_config_bug_3
-    Memcheck:Leak
-    fun:realloc
-    fun:FcFontSetAdd
-}
-{
-    font_config_bug_4
-    Memcheck:Leak
-    fun:malloc
+    fun:*alloc
     fun:FcPatternObjectInsertElt
-    fun:FcPatternObjectAddWithBinding
+    fun:Fc*Add*
 }
 {
     zlib_bug_1