summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cb36df3)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234673
91177308-0d34-0410-b5e6-
96231b3b80d8
// pointer for the indirection to point at the trampoline.
std::string BodyPtrName = (F->getName() + "$address").str();
GlobalVariable *FunctionBodyPointer =
// pointer for the indirection to point at the trampoline.
std::string BodyPtrName = (F->getName() + "$address").str();
GlobalVariable *FunctionBodyPointer =
- createImplPointer(*F, BodyPtrName,
+ createImplPointer(*F->getType(), *F->getParent(), BodyPtrName,
createIRTypedAddress(*F->getFunctionType(),
CallbackInfo.getAddress()));
makeStub(*F, *FunctionBodyPointer);
createIRTypedAddress(*F->getFunctionType(),
CallbackInfo.getAddress()));
makeStub(*F, *FunctionBodyPointer);