From: Mark Harmstone Date: Thu, 27 Jun 2024 23:34:43 +0000 (+0100) Subject: Document return value in write_cv_integer X-Git-Tag: basepoints/gcc-16~7531 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=677ef11681ee25eae6c75c703c1d187308114e5e;p=thirdparty%2Fgcc.git Document return value in write_cv_integer gcc/ * dwarf2codeview.cc (write_lf_modifier): Expand upon comment. --- diff --git a/gcc/dwarf2codeview.cc b/gcc/dwarf2codeview.cc index 5a33b439b14..df53d8bab9d 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)