On Wednesday 28 November 2012 23:56:55 Philippe Waroquiers wrote: > Currently, Valgrind does not provide a fully flexible > way to indicate which leak kinds to show, > which leak kinds to consider as an error, > and which leak kinds to suppress. > This is a.o. described in bugs 284540 and 307465. > > For example, the current options > (--show-reachable=yes|no --show-possibly-lost=yes|no) > do not allow to indicate that reachable blocks should > be considered as an error. > > There is also no way to indicate that possibly lost > blocks are not an error (whatever the value of --show-possibly-lost). > > Leak suppression entries are also currently catching all leak kinds. > For example, if you have possibly lost blocks which you want > to suppress, the suppression entry will also suppress > definitely lost blocks allocated at the same stack trace, > thereby hiding/suppressing real leaks. > > > The patch attached to bug 307465 implements a flexible way to specify > on the command line which leak kinds to show and which > leak kinds to consider as an error. > It also provides a way to have a leak suppression entry > matching only a specific set of leak kinds. > > Here are the new command lines args: > --show-leak-kinds=kind1,kind2,.. which leak kinds to show? > [definite,possible] > --errors-for-leak-kinds=kind1,kind2,.. which leak kinds are errors? > [definite,possible] > where kind is one of definite indirect possible reachable all > none
This sounds good, but I'm missing one piece of information: what will the default values be? It would be good for this to have "sane" defaults, so that most users don't actually need to specify these options. Would this mean "show for possible" and "error for definite"? -- David Faure, [email protected], http://www.davidfaure.fr Working on KDE, in particular KDE Frameworks 5 ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
