|
From: <sv...@va...> - 2017-01-21 12:20:40
|
Author: philippe
Date: Sat Jan 21 12:20:33 2017
New Revision: 16206
Log:
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.
Modified:
trunk/memcheck/docs/mc-manual.xml
trunk/memcheck/mc_main.c
Modified: trunk/memcheck/docs/mc-manual.xml
==============================================================================
--- trunk/memcheck/docs/mc-manual.xml (original)
+++ trunk/memcheck/docs/mc-manual.xml Sat Jan 21 12:20:33 2017
@@ -887,7 +887,9 @@
</term>
<listitem>
<para>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 <option>--leak-check=full</option>.
+ The produced file
will contain the following events:</para>
<itemizedlist>
<listitem><para><option>RB</option> : Reachable Bytes</para></listitem>
Modified: trunk/memcheck/mc_main.c
==============================================================================
--- trunk/memcheck/mc_main.c (original)
+++ trunk/memcheck/mc_main.c Sat Jan 21 12:20:33 2017
@@ -8059,6 +8059,7 @@
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;
|