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)
commitd8b0466e19df2be3d635ca4e23c92c3d28d1b935
tree7dfacb1c5140f07f54c06f7fec1bf451d223fbc1
parent6e271f4ce8c438f1cff01a40fadb24d52b3d47fa
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

llvm-svn: 279786
clang/lib/CodeGen/ItaniumCXXABI.cpp
clang/test/CodeGenCXX/rtti-mingw64.cpp [new file with mode: 0644]