Skip to content

Commit 9d9d5d2

Browse files
committed
Adapted the documentation of the v5 parser
1 parent 4034920 commit 9d9d5d2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/parser/file/dwarf/v5/parser.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ void dwarf5_parser_create(struct dwarf_parser* self);
5252
* Consumes the following data block of different possible types, according to the
5353
* formats available for additional vendor specific data.
5454
*
55+
* @param self the dwarf parser structure
5556
* @param buffer the data buffer
5657
* @param counter the reading index
5758
* @param type the expected data type
58-
* @param bit64 whether to use the 64 bit format
5959
* @return whether the data was allowed and skipped successfully
6060
*/
6161
bool dwarf5_consumeSome(struct dwarf_parser* self, void* buffer, size_t* counter, uint64_t type);
@@ -66,13 +66,10 @@ bool dwarf5_consumeSome(struct dwarf_parser* self, void* buffer, size_t* counter
6666
* The string may follow in the given data buffer or may come from one of the debug string sections.
6767
* The returned string is not allocated.
6868
*
69+
* @param self the dwarf parser structure
6970
* @param buffer the data buffer
7071
* @param counter the reading index into the given data buffer
7172
* @param type the type of string to load
72-
* @param bit64 whether the 64 bit DWARF format is used
73-
* @param debugLineStr the section corresponding to the .debug_line_str section
74-
* @param debugStr the section corresponding to the .debug_str section
75-
* @param debugStrOffsets the debug string offsets section
7673
* @return a pointer to the string which points into either the given data buffer or into one of the given sections;
7774
* `NULL` is returned if the given data type was not allowed
7875
*/

0 commit comments

Comments
 (0)