[cxx-abi-dev] __int128 RTTI emitted in ABI library?

Dennis Handly dhandly at cup.hp.com
Wed Feb 3 02:42:26 UTC 2016


>From: Richard Smith <richardsmith at google.com>
>the RTTI information for a whole bunch of fundamental types is emitted in
>the C++ ABI library. However, this list excludes:
>  __int128 and unsigned __int128: GCC embeds RTTI for these, Clang does not
>(but expects it to be there!)

>In both cases, we specify a mangling for the type, so it would not be
>unprecedented for the ABI to acknowledge their existence.

For aC++, we support __float128 as long real.  With __float80 as another type.
I believe we had to have C++ ABI library export them long ago.
With the three decimal floating points, most recently.
(But never got around to __int128.)

>Presumably the ABI document should specify that such RTTI information is
>present in the ABI library.  We should also consider whether the RTTI
>for __float128 should be included, for types that support __float128.

Yes it should to both points.  Better to do it before there are any uses of
them.


More information about the cxx-abi-dev mailing list