commit | a7dec298303edbf3eb2c7993801c602a1d88e9db | [log] [tgz] |
---|---|---|
author | Reid Kleckner <reid@kleckner.net> | Mon Oct 14 21:14:05 2013 +0000 |
committer | Reid Kleckner <reid@kleckner.net> | Mon Oct 14 21:14:05 2013 +0000 |
tree | bab5b7f7fbf5087b7a5000e40650390d9922811f | |
parent | a2ccf8820a35582f38cf7f5af17db2513db55e2a [diff] |
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