robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 1 | # Pass this file to Valgrind with "--suppressions=tests/valgrind.supp" |
tomhudson@google.com | 7816a4e | 2012-03-15 13:39:51 +0000 | [diff] [blame] | 2 | |
| 3 | { |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 4 | Mesa_glsl_parsing |
tomhudson@google.com | 7816a4e | 2012-03-15 13:39:51 +0000 | [diff] [blame] | 5 | Memcheck:Cond |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 6 | fun:_ZN22_mesa_glsl_parse_stateC1EP10gl_contextjPv |
| 7 | obj:/usr/lib/x86_64-linux-gnu/dri/libglsl.so |
tomhudson@google.com | 7816a4e | 2012-03-15 13:39:51 +0000 | [diff] [blame] | 8 | } |
| 9 | { |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 10 | 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.com | 7816a4e | 2012-03-15 13:39:51 +0000 | [diff] [blame] | 16 | } |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 17 | { |
| 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.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 28 | { |
| 29 | Mesa_add_symbol_leak |
| 30 | Memcheck:Leak |
| 31 | fun:malloc |
| 32 | fun:strdup |
| 33 | fun:_mesa_symbol_table_add_symbol |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 34 | } |
robertphillips@google.com | 5d367c4 | 2013-07-09 12:51:58 +0000 | [diff] [blame] | 35 | { |
| 36 | Mesa_symbol_table_add_symbol_leak |
| 37 | Memcheck:Leak |
| 38 | fun:calloc |
| 39 | fun:_mesa_symbol_table_add_symbol |
| 40 | } |
robertphillips@google.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 41 | { |
| 42 | Mesa_symbol_table_add_symbol_hash_leak |
| 43 | Memcheck:Leak |
| 44 | fun:calloc |
| 45 | fun:hash_table_insert |
robertphillips@google.com | 5d367c4 | 2013-07-09 12:51:58 +0000 | [diff] [blame] | 46 | fun:_mesa_symbol_table_add_symbol |
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 47 | } |
| 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.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 55 | { |
| 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.com | 5d367c4 | 2013-07-09 12:51:58 +0000 | [diff] [blame] | 66 | fun:_mesa_symbol_table_add_global_symbol |
| 67 | } |
robertphillips@google.com | 7e4d99a | 2013-07-13 19:50:40 +0000 | [diff] [blame] | 68 | { |
| 69 | Mesa_hash_table_replace |
| 70 | Memcheck:Leak |
| 71 | fun:calloc |
robertphillips@google.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 72 | fun:hash_table_replace |
robertphillips@google.com | 5d367c4 | 2013-07-09 12:51:58 +0000 | [diff] [blame] | 73 | } |
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 74 | { |
| 75 | Mesa_symbol_table_push_scope_leak |
| 76 | Memcheck:Leak |
| 77 | fun:calloc |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 78 | fun:_mesa_symbol_table_push_scope |
| 79 | } |
robertphillips@google.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 80 | { |
| 81 | Mesa_symbol_table_ctor_leak |
| 82 | Memcheck:Leak |
| 83 | fun:calloc |
robertphillips@google.com | 5d367c4 | 2013-07-09 12:51:58 +0000 | [diff] [blame] | 84 | fun:_mesa_symbol_table_ctor |
| 85 | } |
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 86 | { |
| 87 | Mesa_bindAttribLocation_leak |
| 88 | Memcheck:Leak |
| 89 | fun:malloc |
| 90 | fun:strdup |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 91 | fun:_mesa_BindAttribLocationARB |
| 92 | } |
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 93 | { |
| 94 | Mesa_init_shader_program_leak |
| 95 | Memcheck:Leak |
| 96 | fun:_Znwm |
| 97 | fun:string_to_uint_map_ctor |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 98 | fun:_mesa_init_shader_program |
| 99 | } |
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 100 | { |
| 101 | Mesa_fix_func_fragment_program_leak |
| 102 | Memcheck:Leak |
| 103 | fun:malloc |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 104 | fun:_mesa_get_fixed_func_fragment_program |
| 105 | } |
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 106 | { |
robertphillips@google.com | cfe8aa6 | 2013-07-12 17:29:30 +0000 | [diff] [blame] | 107 | 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.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 114 | 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.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 119 | fun:_mesa_glsl_link_shader |
| 120 | } |
robertphillips@google.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 121 | { |
| 122 | Mesa_link_shader_leak_2 |
| 123 | Memcheck:Leak |
| 124 | fun:calloc |
| 125 | fun:st_link_shader |
robertphillips@google.com | 5d367c4 | 2013-07-09 12:51:58 +0000 | [diff] [blame] | 126 | fun:_mesa_glsl_link_shader |
| 127 | } |
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 128 | { |
| 129 | Mesa_leak |
| 130 | Memcheck:Leak |
| 131 | fun:malloc |
| 132 | fun:_mesa_realloc |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 133 | 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.com | 5d367c4 | 2013-07-09 12:51:58 +0000 | [diff] [blame] | 149 | { |
| 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.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 190 | { |
| 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.com | cfe8aa6 | 2013-07-12 17:29:30 +0000 | [diff] [blame] | 198 | { |
| 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.com | 2cab8f7 | 2013-07-11 23:49:56 +0000 | [diff] [blame] | 230 | { |
| 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.com | cfe8aa6 | 2013-07-12 17:29:30 +0000 | [diff] [blame] | 250 | ... |
robertphillips@google.com | 2cab8f7 | 2013-07-11 23:49:56 +0000 | [diff] [blame] | 251 | 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.com | cfe8aa6 | 2013-07-12 17:29:30 +0000 | [diff] [blame] | 261 | { |
| 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 | { |
robertphillips@google.com | cfe8aa6 | 2013-07-12 17:29:30 +0000 | [diff] [blame] | 312 | glsl_to_tgsi_visitor_add_constant_leak |
| 313 | Memcheck:Leak |
| 314 | fun:calloc |
| 315 | fun:ralloc_size |
| 316 | fun:_ZN20glsl_to_tgsi_visitor12add_constantE16gl_register_fileP17gl_constant_valueiiPj |
| 317 | } |
robertphillips@google.com | 0408a34 | 2013-07-13 17:11:59 +0000 | [diff] [blame] | 318 | { |
| 319 | glsl_symbol_table_add_type_leak |
| 320 | Memcheck:Leak |
| 321 | fun:calloc |
| 322 | fun:ralloc_size |
| 323 | fun:_ZN17glsl_symbol_table8add_typeEPKcPK9glsl_type |
| 324 | } |
| 325 | { |
| 326 | llvm_constant_creator |
| 327 | Memcheck:Leak |
| 328 | fun:_Znwm |
| 329 | fun:_ZN4llvm4UsernwEmj |
| 330 | fun:_ZN4llvm15ConstantCreatorINS_12ConstantExprENS_4TypeENS_14ExprMapKeyTypeEE6createEPS2_RKS3_t |
| 331 | } |
| 332 | { |
| 333 | ir_reader_read_dereference_leak |
| 334 | Memcheck:Leak |
| 335 | fun:calloc |
| 336 | fun:ralloc_size |
| 337 | fun:_ZN9ir_reader16read_dereferenceEP12s_expression |
| 338 | } |
| 339 | { |
| 340 | ast_expression_hir_leak |
| 341 | Memcheck:Leak |
| 342 | fun:calloc |
| 343 | fun:ralloc_size |
| 344 | fun:_ZN14ast_expression3hirEP9exec_listP22_mesa_glsl_parse_state |
| 345 | } |
| 346 | { |
| 347 | ir_return_close_leak |
| 348 | Memcheck:Leak |
| 349 | fun:calloc |
| 350 | fun:ralloc_size |
| 351 | fun:_ZNK9ir_return5cloneEPvP10hash_table |
| 352 | } |
| 353 | { |
| 354 | ir_swizzle_create_leak |
| 355 | Memcheck:Leak |
| 356 | fun:calloc |
| 357 | fun:ralloc_size |
| 358 | fun:_ZN10ir_swizzle6createEP9ir_rvaluePKcj |
| 359 | } |
robertphillips@google.com | 7e4d99a | 2013-07-13 19:50:40 +0000 | [diff] [blame] | 360 | {
|
| 361 | ir_swizzle_clone_leak
|
| 362 | Memcheck:Leak
|
| 363 | fun:calloc
|
| 364 | fun:ralloc_size
|
| 365 | fun:_ZNK23ir_dereference_variable5cloneEPvP10hash_table
|
| 366 | fun:_ZNK10ir_swizzle5cloneEPvP10hash_table |
| 367 | } |
| 368 | {
|
| 369 | ir_call_generate_inline_leak
|
| 370 | Memcheck:Leak
|
| 371 | fun:calloc
|
| 372 | fun:ralloc_size
|
| 373 | fun:_ZN7ir_call15generate_inlineEP14ir_instruction
|
| 374 | }
|
| 375 | {
|
| 376 | ir_dereference_variable_leak
|
| 377 | Memcheck:Leak
|
| 378 | fun:calloc
|
| 379 | fun:ralloc_size
|
| 380 | fun:_ZNK23ir_dereference_variable5cloneEPvP10hash_table
|
| 381 | }
|
| 382 | {
|
| 383 | ir_copy_propagation_elements_visitor
|
| 384 | Memcheck:Leak
|
| 385 | fun:calloc
|
| 386 | fun:ralloc_size
|
| 387 | fun:_ZN36ir_copy_propagation_elements_visitor13handle_rvalueEPP9ir_rvalue
|
| 388 | }
|
| 389 | {
|
| 390 | ir_reader_read_assignement
|
| 391 | Memcheck:Leak
|
| 392 | fun:calloc
|
| 393 | fun:ralloc_size
|
| 394 | fun:_ZN9ir_reader15read_assignmentEP12s_expression
|
| 395 | }
|
| 396 | {
|
| 397 | ir_reader_read_expression
|
| 398 | Memcheck:Leak
|
| 399 | fun:calloc
|
| 400 | fun:ralloc_size
|
| 401 | fun:_ZN9ir_reader15read_expressionEP12s_expression
|
| 402 | }
|
| 403 | {
|
| 404 | ir_reader_read_call
|
| 405 | Memcheck:Leak
|
| 406 | fun:calloc
|
| 407 | fun:ralloc_size
|
| 408 | fun:_ZN9ir_reader9read_callEP12s_expression
|
| 409 | }
|
| 410 | {
|
| 411 | ir_reader_read_if
|
| 412 | Memcheck:Leak
|
| 413 | fun:calloc
|
| 414 | fun:ralloc_size
|
| 415 | fun:_ZN9ir_reader7read_ifEP12s_expressionP7ir_loop
|
| 416 | }
|
| 417 | {
|
| 418 | ir_reader_read_constant
|
| 419 | Memcheck:Leak
|
| 420 | fun:calloc
|
| 421 | fun:ralloc_size
|
| 422 | fun:_ZN9ir_reader13read_constantEP12s_expression
|
| 423 | }
|
| 424 | {
|
| 425 | ir_call_generate_inline
|
| 426 | Memcheck:Leak
|
| 427 | fun:calloc
|
| 428 | fun:ralloc_size
|
| 429 | fun:_ZN7ir_call15generate_inlineEP14ir_instruction
|
| 430 | }
|
| 431 | {
|
| 432 | draw_llvw_create_variant
|
| 433 | Memcheck:Leak
|
| 434 | fun:malloc
|
| 435 | fun:draw_llvm_create_variant
|
| 436 | }
|
| 437 | {
|
| 438 | llvmpipe_update_setup
|
| 439 | Memcheck:Leak
|
| 440 | fun:calloc
|
| 441 | obj:/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
|
| 442 | fun:llvmpipe_update_setup
|
| 443 | }
|
| 444 | {
|
| 445 | do_assignment
|
| 446 | Memcheck:Leak
|
| 447 | fun:calloc
|
| 448 | fun:ralloc_size
|
| 449 | fun:_Z13do_assignmentP9exec_listP22_mesa_glsl_parse_statePKcP9ir_rvalueS6_b7YYLTYPE
|
| 450 | }
|
| 451 | {
|
| 452 | Mesa_shadersourceARB
|
| 453 | Memcheck:Leak
|
| 454 | fun:malloc
|
| 455 | fun:_mesa_ShaderSourceARB
|
| 456 | }
|