summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-03-23 17:17:29 +0000
committerAnders Carlsson <andersca@mac.com>2010-03-23 17:17:29 +0000
commitcd836f0b5f577eaa92032f1e80d771d738c69c99 (patch)
tree026934584087af91a69d84d5e10fd708663438d2 /clang/lib/CodeGen/CodeGenModule.h
parentac5024bbeb797869db9342fe26927a64ceeec67b (diff)
downloadbcm5719-llvm-cd836f0b5f577eaa92032f1e80d771d738c69c99.tar.gz
bcm5719-llvm-cd836f0b5f577eaa92032f1e80d771d738c69c99.zip
More thunks scaffolding.
llvm-svn: 99294
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 47dd3a842ba..a8170c17db4 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/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,
OpenPOWER on IntegriCloud