Merge PR #1422 'Pass --show-possibly-lost=no to valgrind'

This commit is contained in:
Thiago de Arruda
2014-11-07 02:01:48 -03:00
2 changed files with 1 additions and 71 deletions

View File

@@ -5,77 +5,6 @@
fun:nss_parse_service_list fun:nss_parse_service_list
fun:__nss_database_lookup fun:__nss_database_lookup
} }
{
interior_ptr1
Memcheck:Leak
fun:malloc
fun:try_malloc
fun:xmalloc
fun:ex_function
}
{
interior_ptr2
Memcheck:Leak
fun:realloc
fun:xrealloc
fun:ga_grow
fun:ex_function
}
{
interior_ptr3
Memcheck:Leak
fun:malloc
fun:strdup
fun:xstrdup
fun:vim_strsave
fun:ex_function
}
{
interior_ptr4
Memcheck:Leak
fun:malloc
fun:realloc
fun:xrealloc
fun:ga_grow
fun:ex_function
}
{
interior_ptr5
Memcheck:Leak
fun:malloc
fun:try_malloc
fun:xmalloc
fun:set_var
fun:set_var_lval
}
{
interior_ptr6
Memcheck:Leak
fun:malloc
fun:try_malloc
fun:xmalloc
fun:get_lit_string_tv
fun:eval7
}
{
interior_ptr7
Memcheck:Leak
fun:malloc
fun:strdup
fun:xstrdup
fun:vim_strsave
fun:copy_tv
fun:get_var_tv
fun:eval7
}
{
interior_ptr8
Memcheck:Leak
fun:malloc
fun:try_malloc
fun:xmalloc
fun:dictitem_alloc
}
{ {
uv_spawn_with_optimizations uv_spawn_with_optimizations
Memcheck:Leak Memcheck:Leak

View File

@@ -11,6 +11,7 @@ if os.getenv('VALGRIND') then
local log_file = os.getenv('VALGRIND_LOG') or 'valgrind-%p.log' local log_file = os.getenv('VALGRIND_LOG') or 'valgrind-%p.log'
local valgrind_argv = {'valgrind', '-q', '--tool=memcheck', local valgrind_argv = {'valgrind', '-q', '--tool=memcheck',
'--leak-check=yes', '--track-origins=yes', '--leak-check=yes', '--track-origins=yes',
'--show-possibly-lost=no',
'--suppressions=.valgrind.supp', '--suppressions=.valgrind.supp',
'--log-file='..log_file} '--log-file='..log_file}
if os.getenv('VALGRIND_GDB') then if os.getenv('VALGRIND_GDB') then