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

Richard Smith richardsmith at google.com
Wed Feb 3 01:18:06 UTC 2016


According to

  http://mentorembedded.github.io/cxx-abi/abi.html#rtti-emission

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!)
  __float128: GCC does not appear to embed RTTI for this

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

I'm going to change Clang to embed RTTI information for __int128 and
unsigned __int128, to match GCC (and its own expectations). 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20160202/36718291/attachment.html>


More information about the cxx-abi-dev mailing list