aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-04-28 14:51:57 +0200
committerMartin Liska <marxin@gcc.gnu.org>2017-04-28 12:51:57 +0000
commite03f26cbb81cb0829a0a4783c6854950eb72b95f (patch)
treea1ce13173e34909cb1d71d77fa5bef70e350a736
parent2f360676fa8da958b87094c6fee95699860a24b3 (diff)
downloadgcc-e03f26cbb81cb0829a0a4783c6854950eb72b95f.zip
gcc-e03f26cbb81cb0829a0a4783c6854950eb72b95f.tar.gz
gcc-e03f26cbb81cb0829a0a4783c6854950eb72b95f.tar.bz2
Enhance documentation of gcov.
2017-04-28 Martin Liska <mliska@suse.cz> * doc/gcov.texi: Enhance documentation of gcov. From-SVN: r247377
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/gcov.texi6
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a5c2a5f..b1b094b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2017-04-28 Martin Liska <mliska@suse.cz>
+ * doc/gcov.texi: Enhance documentation of gcov.
+
+2017-04-28 Martin Liska <mliska@suse.cz>
+
* doc/gcov.texi: Sort options in alphabetic order.
* doc/gcov-dump.texi: Likewise.
* doc/gcov-tool.texi: Likewise.
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi
index 1befb5a..c96f86d 100644
--- a/gcc/doc/gcov.texi
+++ b/gcc/doc/gcov.texi
@@ -324,7 +324,9 @@ command line option. The @var{execution_count} is @samp{-} for lines
containing no code. Unexecuted lines are marked @samp{#####} or
@samp{====}, depending on whether they are reachable by
non-exceptional paths or only exceptional paths such as C++ exception
-handlers, respectively.
+handlers, respectively. Given @samp{-a} option, unexecuted blocks are
+marked @samp{$$$$$} or @samp{%%%%%}, depending whether a basic block
+is reachable via non-exceptional or exceptional paths.
Some lines of information at the start have @var{line_number} of zero.
These preamble lines are of the form
@@ -675,5 +677,5 @@ it. This can be overcome by, for example, setting the environment as
setting will name the data file @file{/target/run/build/foo.gcda}.
You must move the data files to the expected directory tree in order to
-use them for profile directed optimizations (@option{--use-profile}), or to
+use them for profile directed optimizations (@option{-fprofile-use}), or to
use the @command{gcov} tool.