From: Martin Liska Date: Thu, 22 Jun 2017 11:28:05 +0000 (+0200) Subject: Backport r247377 X-Git-Tag: releases/gcc-5.5.0~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=391cc3169ad5c68a6f3061dd6d3710c7e1e3df32;p=thirdparty%2Fgcc.git Backport r247377 2017-06-22 Martin Liska Backport from mainline 2017-04-28 Martin Liska * doc/gcov.texi: Enhance documentation of gcov. From-SVN: r249531 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f140898b0c6..6180e73e5e42 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-06-22 Martin Liska + + Backport from mainline + 2017-04-28 Martin Liska + + * doc/gcov.texi: Enhance documentation of gcov. + 2017-06-22 Martin Liska Backport from mainline diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi index 3ba3621c5947..9f9c52ac1378 100644 --- a/gcc/doc/gcov.texi +++ b/gcc/doc/gcov.texi @@ -323,7 +323,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 @@ -668,5 +670,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.