diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-03 00:43:00 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-03 00:43:00 +0000 |
commit | b12d23303f6d3d6d295fd0e9c749ee82bd23fa3f (patch) | |
tree | 710941f33d6415af55a24f0743ce5e38cf227c5d /libgcc/libgcov.h | |
parent | 847b3067b6d31a63809abfcb974e586ba6f57a4b (diff) | |
download | gcc-b12d23303f6d3d6d295fd0e9c749ee82bd23fa3f.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/libgcov.h')
-rw-r--r-- | libgcc/libgcov.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgcc/libgcov.h b/libgcc/libgcov.h index dfef181ce1a..98a15d134a7 100644 --- a/libgcc/libgcov.h +++ b/libgcc/libgcov.h @@ -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); |