]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/gcov.c
gcov.c (bb_file_time): New static variable.
authorNathan Sidwell <nathan@codesourcery.com>
Sun, 4 Aug 2002 17:06:10 +0000 (17:06 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sun, 4 Aug 2002 17:06:10 +0000 (17:06 +0000)
commit37b8715b5bd67e1ee69ec1b8b1be0153a1106ced
tree72b01de3cc426fed85947ddbf231d59f0bb124a6
parentd500c5d7d7aeb880cc8cc7eba3ee61e3b73951d8
gcov.c (bb_file_time): New static variable.

* gcov.c (bb_file_time): New static variable.
(object_directory): May also be object file.
(preserve_paths): New static variable.
(print_usage): Adjust.
(options): Adjust.
(process_args): Adjust.
(open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
file. Find modification date on bb file.
(read_profile): Don't rewind a NULL file.
(format_hwint): New static function.
(function_summary): Use format_hwint.
(output_data): SOURCE_FILE_NAME is never relative to
OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
mangling. Adjust output format to make it more machine readable.
* doc/gcov.texi: Document & clarify semantics.

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