From e03f26cbb81cb0829a0a4783c6854950eb72b95f Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Fri, 28 Apr 2017 14:51:57 +0200 Subject: [PATCH] Enhance documentation of gcov. 2017-04-28 Martin Liska * doc/gcov.texi: Enhance documentation of gcov. From-SVN: r247377 --- gcc/ChangeLog | 4 ++++ gcc/doc/gcov.texi | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a5c2a5f7f3f..b1b094b120e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-04-28 Martin Liska + + * doc/gcov.texi: Enhance documentation of gcov. + 2017-04-28 Martin Liska * doc/gcov.texi: Sort options in alphabetic order. diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi index 1befb5a3e08..c96f86df830 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. -- 2.30.2