[Dwarf-discuss] regarding listing class members
David Anderson
davea42@earthlink.net
Wed Mar 7 15:57:28 GMT 2007
gireesh subramaniam wrote:
> "The members of a structure, union, or class are represented by debugging
> information entries that
> are owned by the corresponding structure type, union type, or class type
> entry and appear in the
> same order as the corresponding declarations in the source program."
>
> Now,what is the exact meaning of this "ownership",i tried reading the
> dwarfdump but there is no mention of the exact relationship with
> respect to
> the offset or which compilation unit it is present.
>
Section 2.3 "Relationship of Debugging Information Entries"
defines ownership. Glossing over details, DIEs are a conceptual
tree where the tree-parent of a node "owns" it.
(the section 2.3 wording is essentially identical in dwarf2 and dwarf3).
Hope this helps.
David Anderson
More information about the Dwarf-discuss
mailing list