aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-02-15 06:40:56 +0000
committerJohn McCall <rjmccall@apple.com>2011-02-15 06:40:56 +0000
commit0217dfc2bab62042cf046534faa61cfaff30a155 (patch)
tree8b681e9eba05479d6231e4bb387fcc0d03ac8fe6 /clang/lib/CodeGen/ModuleBuilder.cpp
parent98196b4ebb2a7048169832701acd7ca7852834b7 (diff)
downloadllvm-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