]> granicus.if.org Git - clang/commit
Fix Itanium RTTI emission so that we emit fundamental type information into the
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 3 Feb 2016 01:32:42 +0000 (01:32 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 3 Feb 2016 01:32:42 +0000 (01:32 +0000)
commita3029fe93a9fe66a11d39281aab9ce177ed5aff9
treeb8ccd3e289258666a8451ea94a50bae097b91b6a
parent3e08674e1c5ed78603f1d527e0fee5d089ce4d99
Fix Itanium RTTI emission so that we emit fundamental type information into the
C++ ABI library for the same set of types for which we expect the C++ ABI
library to provide the RTTI.

Specifically:
 1) __int128 and unsigned __int128 are now emitted into the ABI library. We
    always expected them to be there but never actually made sure to emit them.
 2) Do not expect OpenCL builtin types to have type info in the C++ ABI library.
    Neither libc++abi nor libstdc++ puts them there when built with either GCC
    or Clang.

This matches GCC's behavior.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259616 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ItaniumCXXABI.cpp
test/CodeGenCXX/rtti-fundamental.cpp