OSDN Git Service

* gcov.c (struct arc_info): Add is_throw field.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2011 20:32:40 +0000 (20:32 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2011 20:32:40 +0000 (20:32 +0000)
commit87ddc00c5ea657a444085cbc2424224dea27f66d
tree8ef74f6b3ac710dbaffba4b31b1cf46d2bbf5382
parent2178b2284c0b59b1800b3beea9948cabd0143b42
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181949 138bc75d-0d04-0410-961f-82ee72b054a4
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