]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Document return value in write_cv_integer
authorMark Harmstone <mark@harmstone.com>
Thu, 27 Jun 2024 23:34:43 +0000 (00:34 +0100)
committerMark Harmstone <mark@harmstone.com>
Sat, 13 Jul 2024 20:53:44 +0000 (21:53 +0100)
gcc/
* dwarf2codeview.cc (write_lf_modifier): Expand upon comment.

gcc/dwarf2codeview.cc

index 5a33b439b145bbc53fca6cef033ec13d86a231ff..df53d8bab9da60faeb71ece7b54d65ed4566d123 100644 (file)
@@ -1113,7 +1113,7 @@ write_lf_modifier (codeview_custom_type *t)
 /* Write a CodeView extensible integer.  If the value is non-negative and
    < 0x8000, the value gets written directly as an uint16_t.  Otherwise, we
    output two bytes for the integer type (LF_CHAR, LF_SHORT, ...), and the
-   actual value follows.  */
+   actual value follows.  Returns the total number of bytes written.  */
 
 static size_t
 write_cv_integer (codeview_integer *i)