On Thu, May 17, 2018 at 01:28:25PM +0200, Mark Wielaard wrote:
> dwarf_attr_integrate and dwarf_hasattr_integrate should also search
> for attributes from the skeleton DIE in case the given DIE is a split
> compile unit DIE. Split compile unit DIEs inherit various attributes
> from their skeleton u
This allows getting a (split) subdie lazily, only when needed.
All arguments to dwarf_get_units are optional. When not given
then unit DIE and sub DIE are not looked up. This new function
allows them to be looked up when not immediately retrieved with
dwarf_get_units, or for a Dwarf_CU gotten throu
To show the difference between "regular" CUs and split CUs print
offsets and references between { and } instead of [ and ].
When --debug-dump=info+ is given (implied by -w) instead of
--debug-dump=info any skeleton unit will be immediately followed
by the corresponding split compile unit (from the
On Thu, May 17, 2018 at 07:43:42PM +0200, Mark Wielaard wrote:
> The logic that finds alt files and dwo files relies on having an open
> file descriptor. But after all needed ELF data has been read the
> underlying Elf file descriptor can be closed. libdwfl in particular
> closes file descriptor fa