aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-05-28 13:35:33 +0200
committerMartin Liska <mliska@suse.cz>2021-05-28 13:36:10 +0200
commitd2a913c76f41692fd0bb955d1768f462133d813a (patch)
tree56265db1f0b97b5ec83cb49f994a5001aac97c87 /gcc
parentf69a1aee157f496e6d3f373fff1b26b03bbf3409 (diff)
downloadgcc-d2a913c76f41692fd0bb955d1768f462133d813a.zip
gcc-d2a913c76f41692fd0bb955d1768f462133d813a.tar.gz
gcc-d2a913c76f41692fd0bb955d1768f462133d813a.tar.bz2
DOC: Update __gcov_dump documentation.
PR gcov-profile/100751 gcc/ChangeLog: * doc/gcov.texi: Revert partially a hunk that was wrong.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/gcov.texi3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi
index d076721..32b51f9 100644
--- a/gcc/doc/gcov.texi
+++ b/gcc/doc/gcov.texi
@@ -887,8 +887,7 @@ Long-running applications can use the @code{__gcov_reset} and @code{__gcov_dump}
facilities to restrict profile collection to the program region of
interest. Calling @code{__gcov_reset(void)} will clear all run-time profile
counters to zero, and calling @code{__gcov_dump(void)} will cause the profile
-information collected at that point to be dumped to @file{.gcda} output files
-(the function can be called just once).
+information collected at that point to be dumped to @file{.gcda} output files.
Instrumented applications use a static destructor with priority 99
to invoke the @code{__gcov_dump} function. Thus @code{__gcov_dump}
is executed after all user defined static destructors,