This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Where to find ABI specs for g++
- To: scott at swiftview dot com
- Subject: Re: Where to find ABI specs for g++
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 24 Jul 2001 20:18:35 -0400
- cc: gcc at gcc dot gnu dot org
>>>>> 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