diff options
author | Mike Stump <mrs@apple.com> | 2009-09-04 18:27:16 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-09-04 18:27:16 +0000 |
commit | 5a522353c3bce98d39d91823ac7e1c8950100db7 (patch) | |
tree | 6a5f25992cbb3b0a677cb260e0cd9731197c43c0 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 0da4a5dcab72ca9ae0b23629ea822571df41b241 (diff) | |
download | bcm5719-llvm-5a522353c3bce98d39d91823ac7e1c8950100db7.tar.gz bcm5719-llvm-5a522353c3bce98d39d91823ac7e1c8950100db7.zip |
Add overidding for methods for vtable building for the secondary
vtables. Add thunk generation. WIP.
llvm-svn: 81014
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 046a619e8a7..312ab7576ad 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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, |