aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-09-04 18:27:16 +0000
committerMike Stump <mrs@apple.com>2009-09-04 18:27:16 +0000
commited032eb5c18b99528cbd76415337b6056a72b911 (patch)
treea35437c8c50b5bc60cec8ab91d344d7a58c79efc /lib/CodeGen/CodeGenFunction.h
parent2e30e594dd5e4e33cacfa08a39e0da2aaac5e364 (diff)
Add overidding for methods for vtable building for the secondary
vtables. Add thunk generation. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 046a619e8a..312ab7576a 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -364,6 +364,11 @@ public:
/// GenerateVtable - Generate the vtable for the given type.
llvm::Value *GenerateVtable(const CXXRecordDecl *RD);
+ /// GenerateThunk - Generate a thunk for the given method
+ llvm::Constant *GenerateThunk(llvm::Function *Fn, const CXXMethodDecl *MD,
+ bool Extern, bool Virtual, int64_t nv,
+ int64_t v);
+
void EmitCtorPrologue(const CXXConstructorDecl *CD);
void SynthesizeCXXCopyConstructor(const CXXConstructorDecl *CD,