• nathan's avatar
    * gcov-io.h: Add a local time stamp. · 42fa384f
    nathan authored
    	(struct gcov_info): Add stamp field.
    	(gcov_truncate): New.
    	* coverage.c (read_counts_file): Skip the stamp.
    	(coverage_begin_output): Write the stamp.
    	(build_gcov_info): Declare and init the stamp.
    	(coverage_finish): Only unlink data file, if stamp is zero.
    	* gcov-dump.c (dump_file): Dump the stamp.
    	* gcov.c (bbg_stamp): New.
    	(release_structures): Clear bbg_stamp.
    	(read_graph_file): Read stamp.
    	(read_count_file): Check stamp.
    	* libgcov.c (gcov_exit): Check stamp and truncate if needed.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69006 138bc75d-0d04-0410-961f-82ee72b054a4
    42fa384f
gcov-dump.c 10.8 KB