gcov.c: Comments updated.
authorTristan Gingold <gingold@adacore.com>
Tue, 12 Jun 2007 15:39:15 +0000 (15:39 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Tue, 12 Jun 2007 15:39:15 +0000 (15:39 +0000)
commit1a9075e2897aed199f8f52b7a212672d1f86a1b4
tree82141cd675d6e571f4eeb980cf675b2b4f5ecce0
parentb18e284e3c375396e2644ca74e28852b0756c468
gcov.c: Comments updated.

* gcov.c: Comments updated.
(source_info): Add file_time field.
(source_index): New variable.
(mutiple_files): New variable.
(generate_results): New function extracted from process_file.
(process_file): Save and restore chain of functions, generate
results and free structures only if not merging results.
(release_structures): File names are now freed in create_file_names
(create_file_names): Free previous file names.
(find_source): File date is now read here and modifications in
source files is checked here.
(read_graph_file): Only reverse order of functions for the current
object file.
(make_gcov_file_name): Do not generate long names if input_name is
NULL.
(output_lines): If merging results do not display graph, data and
runs informations.
Checking source file modification is done in find_source.

* doc/gcov.texi: Append an s to sourcefile.

From-SVN: r125649
gcc/ChangeLog
gcc/doc/gcov.texi
gcc/gcov.c