GCOV: print {start,end}_column in JSON file and gcov-dump tool.
authorMartin Liska <mliska@suse.cz>
Thu, 14 Mar 2019 09:33:54 +0000 (10:33 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 14 Mar 2019 09:33:54 +0000 (09:33 +0000)
commitb81547179688b601af97fc2185489dbea1cd86b2
tree3b014b7c0ae678b661a9596e5af81a9395664ec1
parentea9d9d749c3203e9fb01267fabecad93b7f1c06c
GCOV: print {start,end}_column in JSON file and gcov-dump tool.

2019-03-14  Martin Liska  <mliska@suse.cz>

* coverage.c (coverage_begin_function): Stream also
end_column.
* doc/gcov.texi: Document 2 new fields in JSON file.  Improve
documentation about function declaration location.
* gcov-dump.c (tag_function): Print whole range
of function declaration.
* gcov.c (struct function_info): Add end_column field.
(function_info::function_info): Initialize it.
(output_json_intermediate_file): Output {start,end}_column
fields.
(read_graph_file): Read end_column.

From-SVN: r269678
gcc/ChangeLog
gcc/coverage.c
gcc/doc/gcov.texi
gcc/gcov-dump.c
gcc/gcov.c