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 | ed032eb5c18b99528cbd76415337b6056a72b911 (patch) | |
tree | a35437c8c50b5bc60cec8ab91d344d7a58c79efc /lib/CodeGen/CodeGenModule.h | |
parent | 2e30e594dd5e4e33cacfa08a39e0da2aaac5e364 (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/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 98e3bf307d..2368a082cb 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -235,6 +235,10 @@ public: /// GenerateRtti - Generate the rtti information for the given type. llvm::Constant *GenerateRtti(const CXXRecordDecl *RD); + /// BuildThunk - Build a thunk for the given method + llvm::Constant *BuildThunk(const CXXMethodDecl *MD, bool Extern, bool Virtual, + int64_t nv, int64_t v); + /// GetStringForStringLiteral - Return the appropriate bytes for a string /// literal, properly padded to match the literal type. If only the address of /// a constant is needed consider using GetAddrOfConstantStringLiteral. |