This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

virtual table layout on i386



I'm on Linux on Intel processor. I noticed that the virtual table has
the first two slots reserved, the first virtual function that I include in
the class, occupying third position (offset 8). Question: what are the
first two slots reserved for (rtti? virt destructor?). How likely is
it to change in egcs?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]