[GCC-XML]XML Output Questions
Evan Carew
carew at pobox.com
Tue Mar 4 14:39:33 EST 2003
In looking at the XML output, I'm wondering if there is any way to tell
where in the executable (or objects) your declared items will be placed.
For instance, if you have two classes like so:
class kick{
public:
int force;
};
class trid{
public:
kick *kicks[4];
};
The second class, which attempts to prove that kicks are for trids, is
described by gccxml as follows:
<Class id="_2" name="trid" context="_4" location="f0:6" members="_8 _9
_10 " bases=""/>
<Field id="_8" name="kicks" type="_13" context="_2" location="f0:8"/>
<Constructor id="_9" name="trid" context="_2" location="f0:6">
<Argument name="_ctor_arg" type="_14"/>
</Constructor>
<Constructor id="_10" name="trid" context="_2" location="f0:6"/>
Where in the XML does it say where kicks are stored?
Thanks,
Evan Carew
More information about the gccxml
mailing list