diff options
| author | Warren Hunt <whunt@google.com> | 2013-12-06 19:54:25 +0000 |
|---|---|---|
| committer | Warren Hunt <whunt@google.com> | 2013-12-06 19:54:25 +0000 |
| commit | 14bff0de022021931d9978d0c9d326b85f81b515 (patch) | |
| tree | 408d82d7e44b1889f9b144888496a0e80b0b6b15 /lib/CodeGen/CGExpr.cpp | |
| parent | c1e43c353bba10273f10a53c13f58fdf17d969e0 (diff) | |
| download | clang-14bff0de022021931d9978d0c9d326b85f81b515.tar.gz clang-14bff0de022021931d9978d0c9d326b85f81b515.tar.bz2 clang-14bff0de022021931d9978d0c9d326b85f81b515.tar.xz | |
[MS-ABI] Fix alias-avoidance padding between bases
Adds padding between bases or virtual bases in an attempt to avoid
aliasing of zero-sized sub-objects. The approach used by the ABI adds
two more bits of state. Detailed comments are in the code. Test cases
included.
Differential Revision: http://llvm-reviews.chandlerc.com/D2258
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
