summaryrefslogtreecommitdiff
path: root/gcc/doc/gcov.texi
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2011-12-02 20:32:40 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2011-12-02 20:32:40 +0000
commit8919c0d984f1d98b612268e938668f177d5f835f (patch)
tree8ef74f6b3ac710dbaffba4b31b1cf46d2bbf5382 /gcc/doc/gcov.texi
parent134dc576a298b36dbbe5048b0acdf11e53838464 (diff)
downloadgcc-8919c0d984f1d98b612268e938668f177d5f835f.tar.gz
gcov.c (struct arc_info): Add is_throw field.
* gcov.c (struct arc_info): Add is_throw field. (struct (block_info): Add exceptional field, reduce flags size to account for it. (struct function_info): Add has_catch field. (struct line_info): Add unexceptional field. (process_file): Call find_exception_blocks if necessary. (read_graph_file): Adjust. Note if an exceptional edge is seen. (find_exception_blocks): New. (add_line_counts): Set line's unexceptional flag if not exceptional. (output_branch_count): Note exceptional arcs, lines and blocks. * gcov-dump.c (tag_arcs): Decode arc flags. * doc/gcov.texi: Document '=====' lines. testsuite/ * lib/gcov.exp (verify-lines): Allow = as a count char. * g++.dg/gcov/gcov-13.C: New. From-SVN: r181949
Diffstat (limited to 'gcc/doc/gcov.texi')
-rw-r--r--gcc/doc/gcov.texi9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi
index 640d52e1284..e771f72e402 100644
--- a/gcc/doc/gcov.texi
+++ b/gcc/doc/gcov.texi
@@ -261,10 +261,13 @@ program source code. The format is
Additional block information may succeed each line, when requested by
command line option. The @var{execution_count} is @samp{-} for lines
-containing no code and @samp{#####} for lines which were never executed.
-Some lines of information at the start have @var{line_number} of zero.
+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.
-The preamble lines are of the form
+Some lines of information at the start have @var{line_number} of zero.
+These preamble lines are of the form
@smallexample
-:0:@var{tag}:@var{value}