diff options
author | Mike Stump <mrs@apple.com> | 2009-08-06 21:49:36 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-08-06 21:49:36 +0000 |
commit | 3e62d002713b87fbfe5c472a3605adb3914b4c8b (patch) | |
tree | 5fab36d781500101e8fc4c7125647b26db532cb6 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 2f6eb14af4c4de9b334320f9d25203c675133cef (diff) | |
download | bcm5719-llvm-3e62d002713b87fbfe5c472a3605adb3914b4c8b.tar.gz bcm5719-llvm-3e62d002713b87fbfe5c472a3605adb3914b4c8b.zip |
Also generate the rtti field for virtual bases for vtables. Turn on
rtti so we can properly test it. Refactor code a little. Still a
work in progress.
llvm-svn: 78343
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 1f0fad609f5..fe52e996621 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -360,7 +360,10 @@ public: llvm::Constant *GenerateRtti(const CXXRecordDecl *RD); void GenerateVtableForBase(const CXXRecordDecl *RD, - std::vector<llvm::Constant *> &methods); + const CXXRecordDecl *Class, + llvm::Constant *rtti, + std::vector<llvm::Constant *> &methods, + bool isPrimary = false); llvm::Value *GenerateVtable(const CXXRecordDecl *RD); void EmitCtorPrologue(const CXXConstructorDecl *CD); |