[PATCH 06/15] Add Dwarf member to Dwarf_Lines and Dwarf_Files
Aaron Merey
amerey@redhat.com
Fri Jan 24 02:16:34 GMT 2025
Hi Mark,
On Wed, Jan 22, 2025 at 7:06 PM Mark Wielaard <mark@klomp.org> wrote:
>
> On Sun, Jan 19, 2025 at 10:20:32PM -0500, Aaron Merey wrote:
> > * libdw/dwarf_getsrclines.c (read_srcfiles): Initialize dbg
> > member.
> > * libdw/libdwP.h (struct Dwarf_Files_s): Add Dwarf member.
> > (struct Dwarf_Lines_s): Ditto.
>
> Right, this is what you use in earlier patches to get back at the
> Dwarf (dwarf_lock).
>
> A Dwarf_Line_s already has a pointer to a Dwarf_Files, so might it be
> able to use that instead of adding a Dwarf dbg to both?
That's right, I'll remove the Dwarf_Line_s dbg.
Aaron
More information about the Elfutils-devel
mailing list