[cfe-dev] C++ Language Support Library

Doug Gregor doug.gregor at gmail.com
Mon Nov 10 09:21:20 PST 2008


On Mon, Nov 10, 2008 at 11:57 AM, Howard Hinnant <hhinnant at apple.com> wrote:
> On Nov 10, 2008, at 7:50 AM, Doug Gregor wrote:
>> 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.

None of these functions is actually used by the GNU front end, and the
ChangeLogs seem to indicate that the compiler stopped using these
names in 2000. They are all declared protected in libsupc++ and are
used internally.

That said, I don't have enough of a grasp of the C++ ABI to say
whether or not any of that matters :)

  - Doug



More information about the cfe-dev mailing list