From 677ef11681ee25eae6c75c703c1d187308114e5e Mon Sep 17 00:00:00 2001 From: Mark Harmstone Date: Fri, 28 Jun 2024 00:34:43 +0100 Subject: Document return value in write_cv_integer gcc/ * dwarf2codeview.cc (write_lf_modifier): Expand upon comment. --- gcc/dwarf2codeview.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/dwarf2codeview.cc b/gcc/dwarf2codeview.cc index 5a33b43..df53d8b 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) -- cgit v1.1