public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] gcov-io.h: fix comment regarding length of records
@ 2023-10-24 12:41 Jose E. Marchesi
  2023-10-24 18:02 ` Jeff Law
  0 siblings, 1 reply; 3+ messages in thread
From: Jose E. Marchesi @ 2023-10-24 12:41 UTC (permalink / raw)
  To: gcc-patches


The length of gcov records is stored as a signed 32-bit number of bytes.
Ok?

diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h
index bfe4439d02d..e6f33e32652 100644
--- a/gcc/gcov-io.h
+++ b/gcc/gcov-io.h
@@ -101,7 +101,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    Records are not nested, but there is a record hierarchy.  Tag
    numbers reflect this hierarchy.  Tags are unique across note and
    data files.  Some record types have a varying amount of data.  The
-   LENGTH is the number of 4bytes that follow and is usually used to
+   LENGTH is the number of bytes that follow and is usually used to
    determine how much data.  The tag value is split into 4 8-bit
    fields, one for each of four possible levels.  The most significant
    is allocated first.  Unused levels are zero.  Active levels are

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gcov-io.h: fix comment regarding length of records
  2023-10-24 12:41 [PATCH] gcov-io.h: fix comment regarding length of records Jose E. Marchesi
@ 2023-10-24 18:02 ` Jeff Law
  2023-10-24 19:10   ` Jose E. Marchesi
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Law @ 2023-10-24 18:02 UTC (permalink / raw)
  To: Jose E. Marchesi, gcc-patches



On 10/24/23 06:41, Jose E. Marchesi wrote:
> 
> The length of gcov records is stored as a signed 32-bit number of bytes.
> Ok?
OK.
jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gcov-io.h: fix comment regarding length of records
  2023-10-24 18:02 ` Jeff Law
@ 2023-10-24 19:10   ` Jose E. Marchesi
  0 siblings, 0 replies; 3+ messages in thread
From: Jose E. Marchesi @ 2023-10-24 19:10 UTC (permalink / raw)
  To: Jeff Law; +Cc: gcc-patches


> On 10/24/23 06:41, Jose E. Marchesi wrote:
>> The length of gcov records is stored as a signed 32-bit number of
>> bytes.
>> Ok?
> OK.

Pushed.  Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-24 19:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-24 12:41 [PATCH] gcov-io.h: fix comment regarding length of records Jose E. Marchesi
2023-10-24 18:02 ` Jeff Law
2023-10-24 19:10   ` Jose E. Marchesi

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).