Quantcast

Valgrind: r16206 - in /trunk/memcheck: docs/mc-manual.xml mc_main.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Valgrind: r16206 - in /trunk/memcheck: docs/mc-manual.xml mc_main.c

svn-2
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;


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers
Loading...