From: Philippe Waroquiers Date: Sat, 21 Jan 2017 12:20:33 +0000 (+0000) Subject: xtree leak. X-Git-Tag: svn/VALGRIND_3_13_0~215 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5788cf1880c235874b435a1040f44a1e149dd2ff;p=thirdparty%2Fvalgrind.git xtree leak. As option --xtree-leak=yes is useless without a full leak report, sets automatically full leak report if xtree leak report is requested. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16206 --- diff --git a/memcheck/docs/mc-manual.xml b/memcheck/docs/mc-manual.xml index 89f61d1a91..1f861a9aa8 100644 --- a/memcheck/docs/mc-manual.xml +++ b/memcheck/docs/mc-manual.xml @@ -887,7 +887,9 @@ is If set to yes, the results for the leak search done at exit will be - output in a 'Callgrind Format' execution tree file. The produced file + output in a 'Callgrind Format' execution tree file. Note that this + automatically sets the option . + The produced file will contain the following events: : Reachable Bytes diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c index b461049079..d222f77f26 100644 --- a/memcheck/mc_main.c +++ b/memcheck/mc_main.c @@ -8059,6 +8059,7 @@ static void mc_fini ( Int exitcode ) xt_filename = VG_(expand_file_name)("--xtree-leak-file", MC_(clo_xtree_leak_file)); lcp.xt_filename = xt_filename; + lcp.mode = LC_Full; } else lcp.xt_filename = NULL;