Allow tools to provide some statistics in suppression list produced at the end

Option -v outputs a list of used suppressions. This only gives
the nr of times a suppression was used.
For a leak search, this only gives the nr of loss records that
have been suppressed, but it does not give additional needed details
to understand more precisely what has been suppressed
(i.e. nr of blocks and nr of bytes).

=> Add in the tool interface update_extra_suppression_use and
print_extra_suppression_info functions to allow the tool to record
additioonal use statistics for a suppression. These statistics
can be done depending on the error (and its data) which is suppressed.

Use this in memcheck for the leak suppressions, to maintain and output
the nr of blocks and bytes suppressed by a suppression during
the last leak search.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13651 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/helgrind/hg_errors.c b/helgrind/hg_errors.c
index ffa3102..45ba4c8 100644
--- a/helgrind/hg_errors.c
+++ b/helgrind/hg_errors.c
@@ -1396,6 +1396,19 @@
    return False;
 }
 
+Bool HG_(print_extra_suppression_use) ( Supp* su,
+                                        /*OUT*/HChar* buf, Int nBuf )
+{
+   /* Do nothing */
+   return False;
+}
+
+void HG_(update_extra_suppression_use) ( Error* err, Supp* su )
+{
+   /* Do nothing */
+   return;
+}
+
 
 /*--------------------------------------------------------------------*/
 /*--- end                                              hg_errors.c ---*/