summaryrefslogtreecommitdiffstats
path: root/clang/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
commit3e62d002713b87fbfe5c472a3605adb3914b4c8b (patch)
tree5fab36d781500101e8fc4c7125647b26db532cb6 /clang/lib/CodeGen/CodeGenFunction.h
parent2f6eb14af4c4de9b334320f9d25203c675133cef (diff)
downloadbcm5719-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.h5
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);
OpenPOWER on IntegriCloud