]> gcc.gnu.org Git - gcc.git/commit
gcov.c (struct arc_info): Add is_throw field.
authorNathan Sidwell <nathan@acm.org>
Fri, 2 Dec 2011 20:32:40 +0000 (20:32 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 2 Dec 2011 20:32:40 +0000 (20:32 +0000)
commit8919c0d984f1d98b612268e938668f177d5f835f
tree8ef74f6b3ac710dbaffba4b31b1cf46d2bbf5382
parent134dc576a298b36dbbe5048b0acdf11e53838464
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
gcc/ChangeLog
gcc/doc/gcov.texi
gcc/gcov-dump.c
gcc/gcov.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gcov/gcov-13.C [new file with mode: 0644]
gcc/testsuite/lib/gcov.exp
This page took 0.057793 seconds and 5 git commands to generate.