]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Update dwarf_cu_dwp_section_info documentation
authorMark Wielaard <mark@klomp.org>
Fri, 16 Feb 2024 13:22:45 +0000 (14:22 +0100)
committerMark Wielaard <mark@klomp.org>
Thu, 22 Feb 2024 22:02:47 +0000 (23:02 +0100)
commit4c1dc5a015331c35cd3b77f47c7805f5de6cc1c9
tree803f967de9477fca4ed5d5923709f00cc76b6484
parentcdce659558cb5ea63223b2f90f47f36e64980edb
libdw: Update dwarf_cu_dwp_section_info documentation

Update the documentation of dwarf_cu_dwp_section_info to make clear
that the function only returns an error if the DWARF package file data
couldn't be read or an unknown section constant is provided.  Missing
DWP information for a given CU isn't an error and will set both OFFSET
and SIZE to zero.  It also makes sure the documentation is < 76 chars
wide.

* libdw/libdw.h (dwarf_cu_dwp_section_info): Update docs.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/libdw.h