https://gcc.gnu.org/g:677ef11681ee25eae6c75c703c1d187308114e5e

commit r15-2022-g677ef11681ee25eae6c75c703c1d187308114e5e
Author: Mark Harmstone <m...@harmstone.com>
Date:   Fri Jun 28 00:34:43 2024 +0100

    Document return value in write_cv_integer
    
    gcc/
            * dwarf2codeview.cc (write_lf_modifier): Expand upon comment.

Diff:
---
 gcc/dwarf2codeview.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/dwarf2codeview.cc b/gcc/dwarf2codeview.cc
index 5a33b439b145..df53d8bab9da 100644
--- a/gcc/dwarf2codeview.cc
+++ b/gcc/dwarf2codeview.cc
@@ -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)

Reply via email to