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 parents, whereas dwarf_getscopes is kind of a semantic view, most notably following DW_TAG_inlined_subroutine+DW_AT_abstract_origin to a different part of the DIE tree.