X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FTest-Valgrind.git;a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FTool%2Fmemcheck.pm;h=1b1ad4bc190e12201ed60b8b8bbd3551905be7f8;hp=78236c7bc0301cadfa6c41e8d8e0d74e7026f486;hb=d83358595540f8645467c2d1a2f658fa74b14c72;hpb=254ae9b36d4bdcc79ab4a2dacd3d717b5cea1f9e diff --git a/lib/Test/Valgrind/Tool/memcheck.pm b/lib/Test/Valgrind/Tool/memcheck.pm index 78236c7..1b1ad4b 100644 --- a/lib/Test/Valgrind/Tool/memcheck.pm +++ b/lib/Test/Valgrind/Tool/memcheck.pm @@ -29,13 +29,20 @@ This class inherits L. =head2 C + my $required_version = $tvt->requires_version; + This tool requires C C<3.1.0>. =cut sub requires_version { '3.1.0' } -=head2 C<< new callers => $callers, ... >> +=head2 C + + my $tvtm = Test::Valgrind::Tool::memcheck->new( + callers => $callers, + %extra_args, + ); Your usual constructor. @@ -65,6 +72,8 @@ sub new_trainer { shift->new(callers => 50) } =head2 C + my $callers = $tvtm->callers; + Read-only accessor for the C option. =cut @@ -73,7 +82,9 @@ sub callers { $_[0]->{callers} } sub suppressions_tag { 'memcheck-' . $_[1]->version } -=head2 C +=head2 C + + my $parser_class = $tvtm->parser_class($session); This tool uses a L parser in analysis mode, and a L parser in suppressions mode. @@ -92,7 +103,9 @@ sub parser_class { return $class; } -=head2 C +=head2 C + + my $report_class = $tvtm->report_class($session); This tool emits C object reports in analysis mode, and C object reports in suppressions mode.