[cfe-dev] C++ Language Support Library

Howard Hinnant hhinnant at apple.com
Mon Nov 10 08:57:45 PST 2008


On Nov 10, 2008, at 7:50 AM, Doug Gregor wrote:

> Hi Sebastian,
>
> On Sun, Nov 9, 2008 at 11:23 AM, Sebastian Redl
> <sebastian.redl at getdesigned.at> wrote:
>> Hi,
>>
>> Regarding the C++ language support library, there are a few issues  
>> that
>> I'd like to raise. Please note that this is only about the language
>> support part of the C++ standard library.
>>
>> 1) Which support library do we use?
>> There are basically two options here. We can write our own, or we can
>> use libsupc++ from GCC.
>
> The licensing issues dominate, so we'll have to write out own. The
> good news is that the primary entry points to libsupc++ are mainly
> those functions required by the Itanium C++ ABI that GCC implements,
> which is specified here:
>
>  http://www.codesourcery.com/public/cxx-abi/abi.html
>
> If we follow that, and allow for some tweaking, we should be able to
> maintain compatibility with GCC.

Are:

type_info::__is_pointer_p
type_info::__is_function_p
type_info::__do_catch
type_info::__do_upcast

exposed entry points?  These are public virtual functions of the gcc  
type_info, and are not part of the Itanium C++ ABI.

-Howard




More information about the cfe-dev mailing list