diff options
author | Anders Carlsson <andersca@mac.com> | 2010-03-23 17:17:29 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-03-23 17:17:29 +0000 |
commit | 19879c98d964bc67442618510af04e3457219780 (patch) | |
tree | 9249cccef6725c0275d1ed6970299832315208bd /lib/CodeGen/CodeGenModule.h | |
parent | fbf6ed46dd6ecc8d94a5f35ddf88b59c39895b84 (diff) |
More thunks scaffolding.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 47dd3a842b..a8170c17db 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -225,6 +225,9 @@ public: /// for the given type. llvm::Constant *GetAddrOfRTTIDescriptor(QualType Ty); + /// GetAddrOfThunk - Get the address of the thunk for the given global decl. + llvm::Constant *GetAddrOfThunk(GlobalDecl GD, const ThunkInfo &Thunk); + llvm::Constant *GetAddrOfThunk(GlobalDecl GD, const ThunkAdjustment &ThisAdjustment); llvm::Constant *GetAddrOfCovariantThunk(GlobalDecl GD, |