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]

Re: Where to find ABI specs for g++


>>>>> Scott Long writes:

Scott> I have been unable to find concrete, readable specs (i.e., not source
Scott> code) detailing exactly the C++ ABI for either 2.x or 3.0. Does anyone
Scott> know where I might find such? Specifically I'm interested in how the
Scott> vtable is laid out.

	http://www.codesourcery.com/cxx-abi/

Scott> Here's the output I get from g++ -S (egcs-2.91.66) on a simple class:

Scott> __vt_5Prove:
Scott> .long 0
Scott> .long __tf5Prove
Scott> .long Foo__5Prove
Scott> .long Bar__5Prove

Scott> What's the initial 0? And what is __tf5Prove?

	Typeinfo for RTTI.

David


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