[cfe-dev] binary layout of an object
Douglas Gregor
dgregor at apple.com
Mon Aug 23 07:49:00 PDT 2010
On Aug 18, 2010, at 11:58 AM, chris nuernberger wrote:
> Earlier I asked about getting the offset, in bytes, of a particular
> member of a class.
>
> I will need this, of course, but just a complete list of properties of
> the class will allow me to calculate this myself accounting for
> padding and such.
>
> I was wondering how I get the vtables that make up the class?
> Pointers to these would be part of the layout, correct?
They are, but I believe that vtable information is stored entirely within the CodeGen module and is not accessible via the AST itself.
- Doug
More information about the cfe-dev
mailing list