[PATCH 2/9] [libbacktrace] Add altlink field to struct dwarf_data

Ian Lance Taylor iant@golang.org
Wed Jan 16 17:17:00 GMT 2019


On Wed, Jan 16, 2019 at 8:33 AM Tom de Vries <tdevries@suse.de> wrote:
>
> > Why is it void**?
>
> It's really struct dwarf_data *, but struct dwarf_data is a type
> declared in dwarf.c, so it's not known in other files.

It woud be OK to add "struct dwarf_data;" to internal.h and refer to
the struct, without dereferencing it, in elf.c.

Ian



More information about the Gcc-patches mailing list