diff options
Diffstat (limited to 'gcc/coverage.c')
-rw-r--r-- | gcc/coverage.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/coverage.c b/gcc/coverage.c index e11505d..af52289 100644 --- a/gcc/coverage.c +++ b/gcc/coverage.c @@ -97,14 +97,16 @@ static GTY(()) tree gcov_info_var; static GTY(()) tree gcov_fn_info_type; static GTY(()) tree gcov_fn_info_ptr_type; -/* Name of the output file for coverage output file. If this is NULL - we're not writing to the notes file. */ +/* Name of the notes (gcno) output file. The "bbg" prefix is for + historical reasons, when the notes file contained only the + basic block graph notes. + If this is NULL we're not writing to the notes file. */ static char *bbg_file_name; -/* File stamp for graph file. */ +/* File stamp for notes file. */ static unsigned bbg_file_stamp; -/* Name of the count data file. */ +/* Name of the count data (gcda) file. */ static char *da_file_name; /* Hash table of count data. */ @@ -566,7 +568,7 @@ coverage_compute_cfg_checksum (void) return chksum; } -/* Begin output to the graph file for the current function. +/* Begin output to the notes file for the current function. Writes the function header. Returns nonzero if data should be output. */ int @@ -1079,7 +1081,7 @@ coverage_obj_finish (VEC(constructor_elt,gc) *ctor) } /* Perform file-level initialization. Read in data file, generate name - of graph file. */ + of notes file. */ void coverage_init (const char *filename) @@ -1131,7 +1133,7 @@ coverage_init (const char *filename) } } -/* Performs file-level cleanup. Close graph file, generate coverage +/* Performs file-level cleanup. Close notes file, generate coverage variables and constructor. */ void |