tomhudson@google.com | 0435f16 | 2012-03-15 18:16:39 +0000 | [diff] [blame] | 1 | # Pass this file to Valgrind with "--suppressions=tests/valgrind.supp" |
tomhudson@google.com | 0435f16 | 2012-03-15 18:16:39 +0000 | [diff] [blame] | 2 | |
| 3 | { |
commit-bot@chromium.org | 738e02c | 2013-07-02 17:40:22 +0000 | [diff] [blame] | 4 | Mesa_glsl_parsing |
tomhudson@google.com | 0435f16 | 2012-03-15 18:16:39 +0000 | [diff] [blame] | 5 | Memcheck:Cond |
commit-bot@chromium.org | 738e02c | 2013-07-02 17:40:22 +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 | 0435f16 | 2012-03-15 18:16:39 +0000 | [diff] [blame] | 8 | } |
| 9 | { |
commit-bot@chromium.org | 738e02c | 2013-07-02 17:40:22 +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 | 0435f16 | 2012-03-15 18:16:39 +0000 | [diff] [blame] | 16 | } |
commit-bot@chromium.org | 738e02c | 2013-07-02 17:40:22 +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 | } |
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 23 | { |
| 24 | FcConfig |
| 25 | Memcheck:Addr4 |
| 26 | fun:FcConfigFileExists |
| 27 | } |
| 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 | } |
| 68 | {
|
robertphillips@google.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 69 | Mesa_hash_table_replace
|
robertphillips@google.com | 5d367c4 | 2013-07-09 12:51:58 +0000 | [diff] [blame] | 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 | { |
| 107 | Mesa_link_shader_leak |
| 108 | Memcheck:Leak |
| 109 | fun:_Znwm |
| 110 | fun:_Z29link_assign_uniform_locationsP17gl_shader_program |
| 111 | fun:_Z12link_shadersP10gl_contextP17gl_shader_program |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 112 | fun:_mesa_glsl_link_shader |
| 113 | } |
robertphillips@google.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 114 | { |
| 115 | Mesa_link_shader_leak_2 |
| 116 | Memcheck:Leak |
| 117 | fun:calloc |
| 118 | fun:st_link_shader |
robertphillips@google.com | 5d367c4 | 2013-07-09 12:51:58 +0000 | [diff] [blame] | 119 | fun:_mesa_glsl_link_shader |
| 120 | } |
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 121 | { |
| 122 | Mesa_leak |
| 123 | Memcheck:Leak |
| 124 | fun:malloc |
| 125 | fun:_mesa_realloc |
robertphillips@google.com | 9c4c3de | 2013-07-03 15:39:10 +0000 | [diff] [blame] | 126 | obj:/usr/lib/x86_64-linux-gnu/dri/libdricore.so |
| 127 | } |
| 128 | { |
| 129 | lib_png_inflate |
| 130 | Memcheck:Cond |
| 131 | fun:inflateReset2 |
| 132 | fun:inflateInit2_ |
| 133 | fun:png_create_read_struct_2 |
| 134 | fun:png_create_read_struct |
| 135 | } |
| 136 | { |
| 137 | Mesa_ReadPixels |
| 138 | Memcheck:Value8 |
| 139 | obj:/usr/lib/x86_64-linux-gnu/dri/libdricore.so |
| 140 | fun:_mesa_readpixels |
| 141 | } |
robertphillips@google.com | 5d367c4 | 2013-07-09 12:51:58 +0000 | [diff] [blame] | 142 | { |
| 143 | Mesa_compile_shader |
| 144 | Memcheck:Leak |
| 145 | fun:calloc |
| 146 | fun:ralloc_size |
| 147 | fun:ralloc_strdup |
| 148 | ... |
| 149 | fun:_mesa_glsl_compile_shader |
| 150 | } |
| 151 | { |
| 152 | Mesa_compile_shader_2 |
| 153 | Memcheck:Leak |
| 154 | fun:calloc |
| 155 | fun:ralloc_size |
| 156 | ... |
| 157 | fun:_mesa_glsl_compile_shader |
| 158 | } |
| 159 | { |
| 160 | Mesa_link_shader |
| 161 | Memcheck:Leak |
| 162 | fun:calloc |
| 163 | fun:ralloc_size |
| 164 | ... |
| 165 | fun:_mesa_glsl_link_shader |
| 166 | } |
| 167 | { |
| 168 | Mesa_link_shader2 |
| 169 | Memcheck:Leak |
| 170 | fun:calloc |
| 171 | obj:/usr/lib/x86_64-linux-gnu/dri/libgallium.so |
| 172 | fun:st_link_shader |
| 173 | fun:_mesa_glsl_link_shader |
| 174 | } |
| 175 | { |
| 176 | Mesa_update_state |
| 177 | Memcheck:Leak |
| 178 | fun:calloc |
| 179 | fun:ralloc_size |
| 180 | ... |
| 181 | fun:_mesa_update_state |
| 182 | } |
robertphillips@google.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 183 | { |
| 184 | Mesa_associate_uniform_storage |
| 185 | Memcheck:Leak |
| 186 | fun:malloc |
| 187 | fun:realloc |
| 188 | fun:_mesa_uniform_attach_driver_storage |
| 189 | fun:_mesa_associate_uniform_storage |
| 190 | } |
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 191 | {
|
robertphillips@google.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 192 | Mesa_init_ralloc_type
|
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 193 | Memcheck:Leak
|
robertphillips@google.com | 49c6b43 | 2013-07-10 13:38:33 +0000 | [diff] [blame] | 194 | fun:calloc
|
| 195 | fun:ralloc_size
|
| 196 | fun:ralloc_autofree_context
|
| 197 | fun:_ZN9glsl_type20init_ralloc_type_ctxEv
|
| 198 | }
|
| 199 | {
|
| 200 | Mesa_glsl_parse_state
|
| 201 | Memcheck:Leak
|
| 202 | fun:calloc
|
| 203 | fun:ralloc_size
|
| 204 | ...
|
| 205 | fun:_ZN23ast_function_expression3hirEP9exec_listP22_mesa_glsl_parse_state
|
| 206 | }
|
| 207 | {
|
| 208 | Mesa_ir_variable
|
| 209 | Memcheck:Leak
|
| 210 | fun:calloc
|
| 211 | fun:ralloc_size
|
| 212 | fun:ralloc_strdup
|
| 213 | fun:_ZN11ir_variableC1EPK9glsl_typePKc16ir_variable_mode
|
| 214 | }
|
| 215 | {
|
| 216 | Mesa_glsl_to_tgsi_visitor
|
| 217 | Memcheck:Leak
|
| 218 | fun:calloc
|
| 219 | fun:ralloc_size
|
| 220 | fun:rzalloc_size
|
| 221 | fun:_ZN20glsl_to_tgsi_visitor4emitEP14ir_instructionj10st_dst_reg10st_src_regS3_S3_
|
robertphillips@google.com | d7a1eea | 2013-07-08 17:26:07 +0000 | [diff] [blame] | 222 | }
|
robertphillips@google.com | 2cab8f7 | 2013-07-11 23:49:56 +0000 | [diff] [blame] | 223 | { |
| 224 | LLVMModuleCreateWithNameInContext_Leak |
| 225 | Memcheck:Leak |
| 226 | fun:_Znwm |
| 227 | fun:_ZNSs4_Rep9_S_createEmmRKSaIcE |
| 228 | fun:_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag |
| 229 | } |
| 230 | { |
| 231 | glsl_type_glsl_base_type_leak |
| 232 | Memcheck:Leak |
| 233 | fun:calloc |
| 234 | fun:ralloc_size |
| 235 | fun:ralloc_strdup |
| 236 | fun:_ZN9glsl_typeC1Ej14glsl_base_typejjPKc |
| 237 | } |
| 238 | { |
| 239 | glsl_type_glsl_struct_field_leak |
| 240 | Memcheck:Leak |
| 241 | fun:calloc |
| 242 | fun:ralloc_size |
| 243 | fun:ralloc_strdup |
| 244 | fun:_ZN9glsl_typeC1EPK17glsl_struct_fieldjPKc |
| 245 | } |
| 246 | { |
| 247 | glsl_type_glsl_sampler_dim_leak |
| 248 | Memcheck:Leak |
| 249 | fun:calloc |
| 250 | fun:ralloc_size |
| 251 | fun:ralloc_strdup |
| 252 | fun:_ZN9glsl_typeC1Ej16glsl_sampler_dimbbjPKc |
| 253 | } |