diff options
author | Martin Liska <mliska@suse.cz> | 2022-10-11 20:45:21 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-10-12 10:53:19 +0200 |
commit | a9c83fb79530ec58017d669e7a951e1b582ab0b4 (patch) | |
tree | 51a39c9947e3b2818057139ca76e336f0bfadbf5 /gcc/gcov-io.cc | |
parent | 6d2294a83e1417720e1f8ddf5aa4dc1a35ef89d5 (diff) | |
download | gcc-a9c83fb79530ec58017d669e7a951e1b582ab0b4.zip gcc-a9c83fb79530ec58017d669e7a951e1b582ab0b4.tar.gz gcc-a9c83fb79530ec58017d669e7a951e1b582ab0b4.tar.bz2 |
gcov: rename gcov_write_summary
gcc/ChangeLog:
* gcov-io.cc (gcov_write_summary): Rename to ...
(gcov_write_object_summary): ... this.
* gcov-io.h (GCOV_TAG_OBJECT_SUMMARY_LENGTH): Rename from ...
(GCOV_TAG_SUMMARY_LENGTH): ... this.
libgcc/ChangeLog:
* libgcov-driver.c: Use new function.
* libgcov.h (gcov_write_summary): Rename to ...
(gcov_write_object_summary): ... this.
Diffstat (limited to 'gcc/gcov-io.cc')
-rw-r--r-- | gcc/gcov-io.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/gcov-io.cc b/gcc/gcov-io.cc index 62032cc..af5b13c 100644 --- a/gcc/gcov-io.cc +++ b/gcc/gcov-io.cc @@ -372,13 +372,13 @@ gcov_write_length (gcov_position_t position) #else /* IN_LIBGCOV */ -/* Write a summary structure to the gcov file. */ +/* Write an object summary structure to the gcov file. */ GCOV_LINKAGE void -gcov_write_summary (gcov_unsigned_t tag, const struct gcov_summary *summary) +gcov_write_object_summary (const struct gcov_summary *summary) { - gcov_write_unsigned (tag); - gcov_write_unsigned (GCOV_TAG_SUMMARY_LENGTH); + gcov_write_unsigned (GCOV_TAG_OBJECT_SUMMARY); + gcov_write_unsigned (GCOV_TAG_OBJECT_SUMMARY_LENGTH); gcov_write_unsigned (summary->runs); gcov_write_unsigned (summary->sum_max); } |