libgcov-interface.c (STRONG_ALIAS): New.

* libgcov-interface.c (STRONG_ALIAS): New.
	(__gcov_flush): Call __gcov_reset_int.
	(__gcov_reset): Strong alias for ...
	(__gcov_reset_ing): ... this renamed hidden version.
	* libgcov.h (__gcov_reset_int): New declaration.

From-SVN: r214840
This commit is contained in:
Nathan Sidwell 2014-09-03 00:43:00 +00:00 committed by Nathan Sidwell
parent 4293bc0c2a
commit b20ee094df
3 changed files with 21 additions and 3 deletions

View file

@ -225,8 +225,10 @@ extern void __gcov_init (struct gcov_info *) ATTRIBUTE_HIDDEN;
/* Called before fork, to avoid double counting. */
extern void __gcov_flush (void) ATTRIBUTE_HIDDEN;
/* Function to reset all counters to 0. */
/* Function to reset all counters to 0. Both externally visible (and
overridable) and internal version. */
extern void __gcov_reset (void);
extern void __gcov_reset_int (void) ATTRIBUTE_HIDDEN;
/* Function to enable early write of profile information so far. */
extern void __gcov_dump (void);