]> granicus.if.org Git - clang/commit
Widen type of __offset_flags in RTTI on Mingw64
authorReid Kleckner <rnk@google.com>
Thu, 25 Aug 2016 22:16:30 +0000 (22:16 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 25 Aug 2016 22:16:30 +0000 (22:16 +0000)
commit28dea68863860c36021cb56254b30aa3821f447e
tree7996d04ccffa121c28e16527a0375e5ada570f5c
parent791842f5509705c829bd217b5b4457cb5105e839
Widen type of __offset_flags in RTTI on Mingw64

Otherwise we can't handle secondary base classes at offsets greater than
2**24. This agrees with libstdc++abi.

We could extend this change to other LLP64 platforms, but then we would
want to update libc++abi and it would require additional review.

Fixes PR29116

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@279786 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ItaniumCXXABI.cpp
test/CodeGenCXX/rtti-mingw64.cpp [new file with mode: 0644]