diff options
author | John McCall <rjmccall@apple.com> | 2011-02-15 06:40:56 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-02-15 06:40:56 +0000 |
commit | 0217dfc2bab62042cf046534faa61cfaff30a155 (patch) | |
tree | 8b681e9eba05479d6231e4bb387fcc0d03ac8fe6 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 98196b4ebb2a7048169832701acd7ca7852834b7 (diff) | |
download | llvm-0217dfc2bab62042cf046534faa61cfaff30a155.zip llvm-0217dfc2bab62042cf046534faa61cfaff30a155.tar.gz llvm-0217dfc2bab62042cf046534faa61cfaff30a155.tar.bz2 |
Perform zero-initialization of virtual base classes when emitting
a zero constant for a complete class. rdar://problem/8424975
To make this happen, track the field indexes for virtual bases
in the complete object. I'm curious whether we might be better
off making CGRecordLayoutBuilder *much* more reliant on
ASTRecordLayout; we're currently duplicating an awful lot of the ABI
layout logic.
llvm-svn: 125555
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions