blob: da3f02fd223a1cd7b7e3f8581f8e8d73a05b0e85 [file] [log] [blame]
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +00001# Pass this file to Valgrind with "--suppressions=tests/valgrind.supp"
tomhudson@google.com7816a4e2012-03-15 13:39:51 +00002
3{
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +00004 Mesa_glsl_parsing
tomhudson@google.com7816a4e2012-03-15 13:39:51 +00005 Memcheck:Cond
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +00006 fun:_ZN22_mesa_glsl_parse_stateC1EP10gl_contextjPv
7 obj:/usr/lib/x86_64-linux-gnu/dri/libglsl.so
tomhudson@google.com7816a4e2012-03-15 13:39:51 +00008}
9{
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +000010 lib_png_inflate
11 Memcheck:Cond
12 fun:inflateReset2
13 fun:inflateInit2_
14 fun:png_create_read_struct_2
15 fun:png_create_read_struct
tomhudson@google.com7816a4e2012-03-15 13:39:51 +000016}
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +000017{
18 Mesa_ReadPixels
19 Memcheck:Value8
20 obj:/usr/lib/x86_64-linux-gnu/dri/libdricore.so
21 fun:_mesa_readpixels
22}
23{
24 FcConfig
25 Memcheck:Addr4
26 fun:FcConfigFileExists
27}
robertphillips@google.comd7a1eea2013-07-08 17:26:07 +000028{
29 Mesa_add_symbol_leak
30 Memcheck:Leak
31 fun:malloc
32 fun:strdup
33 fun:_mesa_symbol_table_add_symbol
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +000034}
robertphillips@google.com5d367c42013-07-09 12:51:58 +000035{
36 Mesa_symbol_table_add_symbol_leak
37 Memcheck:Leak
38 fun:calloc
39 fun:_mesa_symbol_table_add_symbol
40}
robertphillips@google.com49c6b432013-07-10 13:38:33 +000041{
42 Mesa_symbol_table_add_symbol_hash_leak
43 Memcheck:Leak
44 fun:calloc
45 fun:hash_table_insert
robertphillips@google.com5d367c42013-07-09 12:51:58 +000046 fun:_mesa_symbol_table_add_symbol
robertphillips@google.comd7a1eea2013-07-08 17:26:07 +000047}
48{
49 Mesa_add_global_symbol_leak
50 Memcheck:Leak
51 fun:malloc
52 fun:strdup
53 fun:_mesa_symbol_table_add_global_symbol
54}
robertphillips@google.com49c6b432013-07-10 13:38:33 +000055{
56 Mesa_add_global_symbol_calloc_leak
57 Memcheck:Leak
58 fun:calloc
59 fun:_mesa_symbol_table_add_global_symbol
60}
61{
62 Mesa_add_global_symbol_hash_leak
63 Memcheck:Leak
64 fun:calloc
65 fun:hash_table_insert
robertphillips@google.com5d367c42013-07-09 12:51:58 +000066 fun:_mesa_symbol_table_add_global_symbol
67}
68{
robertphillips@google.com49c6b432013-07-10 13:38:33 +000069 Mesa_hash_table_replace
robertphillips@google.com5d367c42013-07-09 12:51:58 +000070 Memcheck:Leak
71 fun:calloc
robertphillips@google.com49c6b432013-07-10 13:38:33 +000072 fun:hash_table_replace
robertphillips@google.com5d367c42013-07-09 12:51:58 +000073}
robertphillips@google.comd7a1eea2013-07-08 17:26:07 +000074{
75 Mesa_symbol_table_push_scope_leak
76 Memcheck:Leak
77 fun:calloc
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +000078 fun:_mesa_symbol_table_push_scope
79}
robertphillips@google.com49c6b432013-07-10 13:38:33 +000080{
81 Mesa_symbol_table_ctor_leak
82 Memcheck:Leak
83 fun:calloc
robertphillips@google.com5d367c42013-07-09 12:51:58 +000084 fun:_mesa_symbol_table_ctor
85}
robertphillips@google.comd7a1eea2013-07-08 17:26:07 +000086{
87 Mesa_bindAttribLocation_leak
88 Memcheck:Leak
89 fun:malloc
90 fun:strdup
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +000091 fun:_mesa_BindAttribLocationARB
92}
robertphillips@google.comd7a1eea2013-07-08 17:26:07 +000093{
94 Mesa_init_shader_program_leak
95 Memcheck:Leak
96 fun:_Znwm
97 fun:string_to_uint_map_ctor
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +000098 fun:_mesa_init_shader_program
99}
robertphillips@google.comd7a1eea2013-07-08 17:26:07 +0000100{
101 Mesa_fix_func_fragment_program_leak
102 Memcheck:Leak
103 fun:malloc
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +0000104 fun:_mesa_get_fixed_func_fragment_program
105}
robertphillips@google.comd7a1eea2013-07-08 17:26:07 +0000106{
robertphillips@google.comcfe8aa62013-07-12 17:29:30 +0000107 Mega_get_fixed_func_fragment_program_leak
108 Memcheck:Leak
109 fun:realloc
110 ...
111 fun:_mesa_get_fixed_func_fragment_program
112}
113{
robertphillips@google.comd7a1eea2013-07-08 17:26:07 +0000114 Mesa_link_shader_leak
115 Memcheck:Leak
116 fun:_Znwm
117 fun:_Z29link_assign_uniform_locationsP17gl_shader_program
118 fun:_Z12link_shadersP10gl_contextP17gl_shader_program
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +0000119 fun:_mesa_glsl_link_shader
120}
robertphillips@google.com49c6b432013-07-10 13:38:33 +0000121{
122 Mesa_link_shader_leak_2
123 Memcheck:Leak
124 fun:calloc
125 fun:st_link_shader
robertphillips@google.com5d367c42013-07-09 12:51:58 +0000126 fun:_mesa_glsl_link_shader
127}
robertphillips@google.comd7a1eea2013-07-08 17:26:07 +0000128{
129 Mesa_leak
130 Memcheck:Leak
131 fun:malloc
132 fun:_mesa_realloc
robertphillips@google.com9c4c3de2013-07-03 15:39:10 +0000133 obj:/usr/lib/x86_64-linux-gnu/dri/libdricore.so
134}
135{
136 lib_png_inflate
137 Memcheck:Cond
138 fun:inflateReset2
139 fun:inflateInit2_
140 fun:png_create_read_struct_2
141 fun:png_create_read_struct
142}
143{
144 Mesa_ReadPixels
145 Memcheck:Value8
146 obj:/usr/lib/x86_64-linux-gnu/dri/libdricore.so
147 fun:_mesa_readpixels
148}
robertphillips@google.com5d367c42013-07-09 12:51:58 +0000149{
150 Mesa_compile_shader
151 Memcheck:Leak
152 fun:calloc
153 fun:ralloc_size
154 fun:ralloc_strdup
155 ...
156 fun:_mesa_glsl_compile_shader
157}
158{
159 Mesa_compile_shader_2
160 Memcheck:Leak
161 fun:calloc
162 fun:ralloc_size
163 ...
164 fun:_mesa_glsl_compile_shader
165}
166{
167 Mesa_link_shader
168 Memcheck:Leak
169 fun:calloc
170 fun:ralloc_size
171 ...
172 fun:_mesa_glsl_link_shader
173}
174{
175 Mesa_link_shader2
176 Memcheck:Leak
177 fun:calloc
178 obj:/usr/lib/x86_64-linux-gnu/dri/libgallium.so
179 fun:st_link_shader
180 fun:_mesa_glsl_link_shader
181}
182{
183 Mesa_update_state
184 Memcheck:Leak
185 fun:calloc
186 fun:ralloc_size
187 ...
188 fun:_mesa_update_state
189}
robertphillips@google.com49c6b432013-07-10 13:38:33 +0000190{
191 Mesa_associate_uniform_storage
192 Memcheck:Leak
193 fun:malloc
194 fun:realloc
195 fun:_mesa_uniform_attach_driver_storage
196 fun:_mesa_associate_uniform_storage
197}
robertphillips@google.comcfe8aa62013-07-12 17:29:30 +0000198{
199 Mesa_init_ralloc_type
200 Memcheck:Leak
201 fun:calloc
202 fun:ralloc_size
203 fun:ralloc_autofree_context
204 fun:_ZN9glsl_type20init_ralloc_type_ctxEv
205}
206{
207 Mesa_glsl_parse_state
208 Memcheck:Leak
209 fun:calloc
210 fun:ralloc_size
211 ...
212 fun:_ZN23ast_function_expression3hirEP9exec_listP22_mesa_glsl_parse_state
213}
214{
215 Mesa_ir_variable
216 Memcheck:Leak
217 fun:calloc
218 fun:ralloc_size
219 fun:ralloc_strdup
220 fun:_ZN11ir_variableC1EPK9glsl_typePKc16ir_variable_mode
221}
222{
223 Mesa_glsl_to_tgsi_visitor
224 Memcheck:Leak
225 fun:calloc
226 fun:ralloc_size
227 fun:rzalloc_size
228 fun:_ZN20glsl_to_tgsi_visitor4emitEP14ir_instructionj10st_dst_reg10st_src_regS3_S3_
229}
robertphillips@google.com2cab8f72013-07-11 23:49:56 +0000230{
231 LLVMModuleCreateWithNameInContext_Leak
232 Memcheck:Leak
233 fun:_Znwm
234 fun:_ZNSs4_Rep9_S_createEmmRKSaIcE
235 fun:_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag
236}
237{
238 glsl_type_glsl_base_type_leak
239 Memcheck:Leak
240 fun:calloc
241 fun:ralloc_size
242 fun:ralloc_strdup
243 fun:_ZN9glsl_typeC1Ej14glsl_base_typejjPKc
244}
245{
246 glsl_type_glsl_struct_field_leak
247 Memcheck:Leak
248 fun:calloc
249 fun:ralloc_size
robertphillips@google.comcfe8aa62013-07-12 17:29:30 +0000250 ...
robertphillips@google.com2cab8f72013-07-11 23:49:56 +0000251 fun:_ZN9glsl_typeC1EPK17glsl_struct_fieldjPKc
252}
253{
254 glsl_type_glsl_sampler_dim_leak
255 Memcheck:Leak
256 fun:calloc
257 fun:ralloc_size
258 fun:ralloc_strdup
259 fun:_ZN9glsl_typeC1Ej16glsl_sampler_dimbbjPKc
260}
robertphillips@google.comcfe8aa62013-07-12 17:29:30 +0000261{
262 Mesa_glsl_parse_state
263 Memcheck:Leak
264 fun:malloc
265 fun:strdup
266 fun:_Z14_mesa_glsl_lexP7YYSTYPEP7YYLTYPEPv
267 fun:_Z16_mesa_glsl_parseP22_mesa_glsl_parse_state
268}
269{
270 st_get_fp_variant_calloc_leak
271 Memcheck:Leak
272 fun:calloc
273 ...
274 fun:st_get_fp_variant
275}
276{
277 st_get_fp_variant_reall_leak
278 Memcheck:Leak
279 fun:realloc
280 ...
281 fun:st_get_fp_variant
282}
283{
284 st_validate_state_leak
285 Memcheck:Leak
286 fun:calloc
287 obj:/usr/lib/x86_64-linux-gnu/dri/libgallium.so
288 fun:st_get_fp_variant
289 obj:/usr/lib/x86_64-linux-gnu/dri/libgallium.so
290 fun:st_validate_state
291}
292{
293 tgsi_dup_tokens_leak
294 Memcheck:Leak
295 fun:malloc
296 fun:tgsi_dup_tokens
297}
298{
299 llvm_registerclassinfo_leak
300 Memcheck:Leak
301 fun:_Znam
302 fun:_ZNK4llvm17RegisterClassInfo7computeEPKNS_19TargetRegisterClassE
303}
304{
305 add_variable_ir_variable_leak
306 Memcheck:Leak
307 fun:calloc
308 fun:ralloc_size
309 fun:_ZN17glsl_symbol_table12add_variableEP11ir_variable
310}
311{
312{
313 glsl_to_tgsi_visitor_add_constant_leak
314 Memcheck:Leak
315 fun:calloc
316 fun:ralloc_size
317 fun:_ZN20glsl_to_tgsi_visitor12add_constantE16gl_register_fileP17gl_constant_valueiiPj
318}