gcov: add more debugging facility
authorMartin Liska <mliska@suse.cz>
Tue, 12 Jan 2021 10:27:34 +0000 (11:27 +0100)
committerMartin Liska <mliska@suse.cz>
Tue, 12 Jan 2021 11:55:17 +0000 (12:55 +0100)
commitb2230210f1742ddf5e863172ff86531019d1039e
treebb2f984ae415d97a03105fd41e9ffa128fc95cbd
parent24ea113f75cfad38894dc1ad16b23c0538ef17d4
gcov: add more debugging facility

gcc/ChangeLog:

* gcov.c (source_info::debug): New.
(print_usage): Add --debug (-D) option.
(process_args): Likewise.
(generate_results): Call src->debug after
accumulate_line_counts.
(read_graph_file): Properly assign id for EXIT_BLOCK.
* profile.c (branch_prob): Dump function body before it is
instrumented.
gcc/gcov.c
gcc/profile.c