diff options
| author | Reid Kleckner <reid@kleckner.net> | 2013-10-14 21:14:05 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2013-10-14 21:14:05 +0000 |
| commit | a7dec298303edbf3eb2c7993801c602a1d88e9db (patch) | |
| tree | bab5b7f7fbf5087b7a5000e40650390d9922811f /lib/CodeGen/CGExpr.cpp | |
| parent | a2ccf8820a35582f38cf7f5af17db2513db55e2a (diff) | |
| download | clang-a7dec298303edbf3eb2c7993801c602a1d88e9db.tar.gz clang-a7dec298303edbf3eb2c7993801c602a1d88e9db.tar.bz2 clang-a7dec298303edbf3eb2c7993801c602a1d88e9db.tar.xz | |
PR17576: Fix assertion on polymorphic classes with small alignment
We have to reserve at least the width of a pointer for the vfptr. For
classes with small alignment, we weren't reserving enough space, and
were overlapping the first field with the vfptr.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192626 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
