summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-10-14 21:14:05 +0000
committerReid Kleckner <reid@kleckner.net>2013-10-14 21:14:05 +0000
commita7dec298303edbf3eb2c7993801c602a1d88e9db (patch)
treebab5b7f7fbf5087b7a5000e40650390d9922811f /lib/CodeGen/CGExpr.cpp
parenta2ccf8820a35582f38cf7f5af17db2513db55e2a (diff)
downloadclang-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