public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1708] gcov: update comment about padding
@ 2021-06-22 6:45 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-06-22 6:45 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6871b899b831b4cb36a24033557c835e53c0b07f
commit r12-1708-g6871b899b831b4cb36a24033557c835e53c0b07f
Author: Martin Liska <mliska@suse.cz>
Date: Tue Jun 22 08:43:41 2021 +0200
gcov: update comment about padding
gcc/ChangeLog:
* gcov-io.h: Remove padding entries.
Diff:
---
gcc/gcov-io.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h
index ff92afe63df..538bee81263 100644
--- a/gcc/gcov-io.h
+++ b/gcc/gcov-io.h
@@ -45,12 +45,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
stored as two 32 bit numbers, the low part first.
The number of bytes is stored, followed by the
string. Zero length and NULL strings are simply stored as a length
- of zero (they have no trailing NUL or padding).
+ of zero (they have no trailing NUL).
int32: byte3 byte2 byte1 byte0 | byte0 byte1 byte2 byte3
int64: int32:low int32:high
string: int32:0 | int32:length char* char:0
- padding: | char:0 | char:0 char:0 | char:0 char:0 char:0
item: int32 | int64 | string
The basic format of the notes file is
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-22 6:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22 6:45 [gcc r12-1708] gcov: update comment about padding Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).