Re: Difference between dwarf_getscopes and dwarf_getscopes_die

2020-06-19 Thread Mark Wielaard
On Mon, 2020-06-15 at 09:50 -0700, Josh Stone via Elfutils-devel wrote: > On 6/13/20 10:34 AM, Milian Wolff wrote: > > can someone explain me the difference between dwarf_getscopes and > > dwarf_getscopes_die? Ideally, this should then be added to the > > d

Re: Difference between dwarf_getscopes and dwarf_getscopes_die

2020-06-15 Thread Josh Stone via Elfutils-devel
On 6/13/20 10:34 AM, Milian Wolff wrote: > Hey all, > > can someone explain me the difference between dwarf_getscopes and > dwarf_getscopes_die? Ideally, this should then be added to the documentation > too. dwarf_getscopes_die just follows the DWARF structure of direct DIE p

Difference between dwarf_getscopes and dwarf_getscopes_die

2020-06-13 Thread Milian Wolff
Hey all, can someone explain me the difference between dwarf_getscopes and dwarf_getscopes_die? Ideally, this should then be added to the documentation too. Currently, the documentation states: ``` /* Return scope DIEs containing PC address. Sets *SCOPES to a malloc'd array of Dwar