aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-08-06 21:49:36 +0000
committerMike Stump <mrs@apple.com>2009-08-06 21:49:36 +0000
commite1be2b16a3a24acda0b63c3dcb4ae3384fcdaf75 (patch)
tree42693dd29b1af04d8bf9b1bd9714e869a2258093 /lib/CodeGen/CodeGenFunction.h
parentd4e5a606c9c64e24c05e5f4610796087e911fb9c (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 1f0fad609f..fe52e99662 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/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);