Re: [PATCH v2 3/4] libdw: Apply DWARF package file section offsets where appropriate

2024-02-16 Thread Mark Wielaard
Hi Omar, On Wed, 2023-12-06 at 01:22 -0800, Omar Sandoval wrote: > The final piece of DWARF package file support is that offsets have to be > interpreted relative to the section offset from the package index. > .debug_abbrev.dwo is already covered, so sprinkle around calls to > dwarf_cu_dwp_sectio

[PATCH] libdw: Update dwarf_cu_dwp_section_info documentation

2024-02-16 Thread Mark Wielaard
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.