summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2019-02-08 19:30:46 +0000
committerJames Y Knight <jyknight@google.com>2019-02-08 19:30:46 +0000
commitae2f9512196965457b5904ba8e335ad6f53550a0 (patch)
treef4fbba41f136bbe128c66872adaefc1e106d2cee /lldb/source/Plugins/LanguageRuntime/RenderScript
parentd7047276ec26cf9c90a3768548af9aa9c3955c60 (diff)
downloadbcm5719-llvm-ae2f9512196965457b5904ba8e335ad6f53550a0.tar.gz
bcm5719-llvm-ae2f9512196965457b5904ba8e335ad6f53550a0.zip
[opaque pointer types] Update calls to CreateCall to pass the function
type in lldb and polly. llvm-svn: 353549
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript')
-rw-r--r--lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
index 8fb09601bc0..4725e8c5b0e 100644
--- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
@@ -192,8 +192,9 @@ bool fixupX86StructRetCalls(llvm::Module &module) {
llvm::LoadInst *new_func_addr_load =
new llvm::LoadInst(new_func_ptr, "load_func_pointer", call_inst);
// and create a callinstruction from it
- llvm::CallInst *new_call_inst = llvm::CallInst::Create(
- new_func_addr_load, new_call_args, "new_func_call", call_inst);
+ llvm::CallInst *new_call_inst =
+ llvm::CallInst::Create(new_func_type, new_func_addr_load, new_call_args,
+ "new_func_call", call_inst);
new_call_inst->setCallingConv(call_inst->getCallingConv());
new_call_inst->setTailCall(call_inst->isTailCall());
llvm::LoadInst *lldb_save_result_address =
OpenPOWER on IntegriCloud