aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-08 17:26:07 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-08 17:26:07 +0000
commitd7a1eea159211e1c1697bbf7e7eceb15d89843f2 (patch)
treeca3161222b14b736e4792d04132eee2075e98ce5
parent07e97fccd2d85076cd22ef411b0773ab92a18abe (diff)
More valgrind suppressions
(SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@9909 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--gm/valgrind.supp121
-rw-r--r--tests/valgrind.supp129
2 files changed, 172 insertions, 78 deletions
diff --git a/gm/valgrind.supp b/gm/valgrind.supp
index 8502137617..225d87090c 100644
--- a/gm/valgrind.supp
+++ b/gm/valgrind.supp
@@ -25,59 +25,65 @@
Memcheck:Addr4
fun:FcConfigFileExists
}
+{
+ Mesa_add_symbol_leak
+ Memcheck:Leak
+ fun:malloc
+ fun:strdup
+ fun:_mesa_symbol_table_add_symbol
+}
{
- Mesa_add_symbol_leak
+ Mesa_symbol_table_add_symbol_leak
Memcheck:Leak
- fun:malloc
- fun:strdup
+ fun:calloc
fun:_mesa_symbol_table_add_symbol
}
-{
- Mesa_add_global_symbol_leak
- Memcheck:Leak
- fun:malloc
- fun:strdup
+{
+ Mesa_add_global_symbol_leak
+ Memcheck:Leak
+ fun:malloc
+ fun:strdup
fun:_mesa_symbol_table_add_global_symbol
}
-{
- Mesa_symbol_table_push_scope_leak
- Memcheck:Leak
- fun:calloc
+{
+ Mesa_symbol_table_push_scope_leak
+ Memcheck:Leak
+ fun:calloc
fun:_mesa_symbol_table_push_scope
}
-{
- Mesa_bindAttribLocation_leak
- Memcheck:Leak
- fun:malloc
- fun:strdup
+{
+ Mesa_bindAttribLocation_leak
+ Memcheck:Leak
+ fun:malloc
+ fun:strdup
fun:_mesa_BindAttribLocationARB
}
-{
- Mesa_init_shader_program_leak
- Memcheck:Leak
- fun:_Znwm
- fun:string_to_uint_map_ctor
+{
+ Mesa_init_shader_program_leak
+ Memcheck:Leak
+ fun:_Znwm
+ fun:string_to_uint_map_ctor
fun:_mesa_init_shader_program
}
-{
- Mesa_fix_func_fragment_program_leak
- Memcheck:Leak
- fun:malloc
+{
+ Mesa_fix_func_fragment_program_leak
+ Memcheck:Leak
+ fun:malloc
fun:_mesa_get_fixed_func_fragment_program
}
-{
- Mesa_link_shader_leak
- Memcheck:Leak
- fun:_Znwm
- fun:_Z29link_assign_uniform_locationsP17gl_shader_program
- fun:_Z12link_shadersP10gl_contextP17gl_shader_program
+{
+ Mesa_link_shader_leak
+ Memcheck:Leak
+ fun:_Znwm
+ fun:_Z29link_assign_uniform_locationsP17gl_shader_program
+ fun:_Z12link_shadersP10gl_contextP17gl_shader_program
fun:_mesa_glsl_link_shader
}
-{
- Mesa_leak
- Memcheck:Leak
- fun:malloc
- fun:_mesa_realloc
+{
+ Mesa_leak
+ Memcheck:Leak
+ fun:malloc
+ fun:_mesa_realloc
obj:/usr/lib/x86_64-linux-gnu/dri/libdricore.so
}
{
@@ -94,3 +100,44 @@
obj:/usr/lib/x86_64-linux-gnu/dri/libdricore.so
fun:_mesa_readpixels
}
+{
+ Mesa_compile_shader
+ Memcheck:Leak
+ fun:calloc
+ fun:ralloc_size
+ fun:ralloc_strdup
+ ...
+ fun:_mesa_glsl_compile_shader
+}
+{
+ Mesa_compile_shader_2
+ Memcheck:Leak
+ fun:calloc
+ fun:ralloc_size
+ ...
+ fun:_mesa_glsl_compile_shader
+}
+{
+ Mesa_link_shader
+ Memcheck:Leak
+ fun:calloc
+ fun:ralloc_size
+ ...
+ fun:_mesa_glsl_link_shader
+}
+{
+ Mesa_link_shader2
+ Memcheck:Leak
+ fun:calloc
+ obj:/usr/lib/x86_64-linux-gnu/dri/libgallium.so
+ fun:st_link_shader
+ fun:_mesa_glsl_link_shader
+}
+{
+ Mesa_update_state
+ Memcheck:Leak
+ fun:calloc
+ fun:ralloc_size
+ ...
+ fun:_mesa_update_state
+}
diff --git a/tests/valgrind.supp b/tests/valgrind.supp
index 15e0f86736..225d87090c 100644
--- a/tests/valgrind.supp
+++ b/tests/valgrind.supp
@@ -20,64 +20,70 @@
obj:/usr/lib/x86_64-linux-gnu/dri/libdricore.so
fun:_mesa_readpixels
}
-{
- FcConfig
- Memcheck:Addr4
- fun:FcConfigFileExists
+{
+ FcConfig
+ Memcheck:Addr4
+ fun:FcConfigFileExists
+}
+{
+ Mesa_add_symbol_leak
+ Memcheck:Leak
+ fun:malloc
+ fun:strdup
+ fun:_mesa_symbol_table_add_symbol
}
{
- Mesa_add_symbol_leak
+ Mesa_symbol_table_add_symbol_leak
Memcheck:Leak
- fun:malloc
- fun:strdup
+ fun:calloc
fun:_mesa_symbol_table_add_symbol
}
-{
- Mesa_add_global_symbol_leak
- Memcheck:Leak
- fun:malloc
- fun:strdup
+{
+ Mesa_add_global_symbol_leak
+ Memcheck:Leak
+ fun:malloc
+ fun:strdup
fun:_mesa_symbol_table_add_global_symbol
}
-{
- Mesa_symbol_table_push_scope_leak
- Memcheck:Leak
- fun:calloc
+{
+ Mesa_symbol_table_push_scope_leak
+ Memcheck:Leak
+ fun:calloc
fun:_mesa_symbol_table_push_scope
}
-{
- Mesa_bindAttribLocation_leak
- Memcheck:Leak
- fun:malloc
- fun:strdup
+{
+ Mesa_bindAttribLocation_leak
+ Memcheck:Leak
+ fun:malloc
+ fun:strdup
fun:_mesa_BindAttribLocationARB
}
-{
- Mesa_init_shader_program_leak
- Memcheck:Leak
- fun:_Znwm
- fun:string_to_uint_map_ctor
+{
+ Mesa_init_shader_program_leak
+ Memcheck:Leak
+ fun:_Znwm
+ fun:string_to_uint_map_ctor
fun:_mesa_init_shader_program
}
-{
- Mesa_fix_func_fragment_program_leak
- Memcheck:Leak
- fun:malloc
+{
+ Mesa_fix_func_fragment_program_leak
+ Memcheck:Leak
+ fun:malloc
fun:_mesa_get_fixed_func_fragment_program
}
-{
- Mesa_link_shader_leak
- Memcheck:Leak
- fun:_Znwm
- fun:_Z29link_assign_uniform_locationsP17gl_shader_program
- fun:_Z12link_shadersP10gl_contextP17gl_shader_program
+{
+ Mesa_link_shader_leak
+ Memcheck:Leak
+ fun:_Znwm
+ fun:_Z29link_assign_uniform_locationsP17gl_shader_program
+ fun:_Z12link_shadersP10gl_contextP17gl_shader_program
fun:_mesa_glsl_link_shader
}
-{
- Mesa_leak
- Memcheck:Leak
- fun:malloc
- fun:_mesa_realloc
+{
+ Mesa_leak
+ Memcheck:Leak
+ fun:malloc
+ fun:_mesa_realloc
obj:/usr/lib/x86_64-linux-gnu/dri/libdricore.so
}
{
@@ -94,3 +100,44 @@
obj:/usr/lib/x86_64-linux-gnu/dri/libdricore.so
fun:_mesa_readpixels
}
+{
+ Mesa_compile_shader
+ Memcheck:Leak
+ fun:calloc
+ fun:ralloc_size
+ fun:ralloc_strdup
+ ...
+ fun:_mesa_glsl_compile_shader
+}
+{
+ Mesa_compile_shader_2
+ Memcheck:Leak
+ fun:calloc
+ fun:ralloc_size
+ ...
+ fun:_mesa_glsl_compile_shader
+}
+{
+ Mesa_link_shader
+ Memcheck:Leak
+ fun:calloc
+ fun:ralloc_size
+ ...
+ fun:_mesa_glsl_link_shader
+}
+{
+ Mesa_link_shader2
+ Memcheck:Leak
+ fun:calloc
+ obj:/usr/lib/x86_64-linux-gnu/dri/libgallium.so
+ fun:st_link_shader
+ fun:_mesa_glsl_link_shader
+}
+{
+ Mesa_update_state
+ Memcheck:Leak
+ fun:calloc
+ fun:ralloc_size
+ ...
+ fun:_mesa_update_state
+}