diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-03-22 19:02:54 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-03-22 19:02:54 +0000 |
commit | a8a0f769ff4113a7f98c232fb0fc773a65371559 (patch) | |
tree | 1d14b1acaafc0873a8d1abd2bd30fab36862dc50 /lib/Frontend/LangStandards.cpp | |
parent | fa69fc19121da3fc5673ccc00d4e8afa5b540a4f (diff) |
[ms-cxxabi] Implement member data pointers for non-dynamic classes
Summary:
For non-dynamic classes (no virtual bases), member data pointers are
simple offsets from the base of the record. Dynamic classes use an
aggregate for member data pointers and are therefore currently
unsupported.
Unlike Itanium, the ms ABI uses 0 to represent null for polymorphic
classes. Non-polymorphic classes use -1 like Itanium, since 0 is a
valid field offset.
Reviewers: rjmccall
CC: timurrrr, cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D558
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/LangStandards.cpp')
0 files changed, 0 insertions, 0 deletions