diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-01-20 17:19:02 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-01-20 17:19:02 +0000 |
commit | 2726267f094a0c1f5ac5b501ec5a9898c58876bf (patch) | |
tree | dc61f39188448cc2b42cd6ddd6351b3c2466f3d8 /lib/CodeGen/CodeGenFunction.h | |
parent | 14cc9451de4a9539bf79e4e5d63248c2377426db (diff) |
apple kext abi requires all vf calls, including qualified
vf calls, be made indirect. This patch is towards that goal.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 5f21d9fa43..7686b33365 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1500,6 +1500,10 @@ public: const llvm::Type *Ty); llvm::Value *BuildVirtualCall(const CXXDestructorDecl *DD, CXXDtorType Type, llvm::Value *This, const llvm::Type *Ty); + llvm::Value *BuildAppleKextVirtualCall(const CXXMethodDecl *MD, + NestedNameSpecifier *Qual, + llvm::Value *This, + const llvm::Type *Ty); RValue EmitCXXMemberCall(const CXXMethodDecl *MD, llvm::Value *Callee, |