projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ee28b4
)
[ORC-RT] Fix missing std::move.
author
Lang Hames
<lhames@gmail.com>
Mon, 19 Jul 2021 10:59:28 +0000
(20:59 +1000)
committer
Lang Hames
<lhames@gmail.com>
Mon, 19 Jul 2021 11:03:12 +0000
(21:03 +1000)
This should fix the 'could-not-covert' error at wrapper_function_utils.h:128 in
https://lab.llvm.org/buildbot/#/builders/112/builds/7748.
compiler-rt/lib/orc/wrapper_function_utils.h
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/orc/wrapper_function_utils.h
b/compiler-rt/lib/orc/wrapper_function_utils.h
index
0c6973d
..
49faa03
100644
(file)
--- a/
compiler-rt/lib/orc/wrapper_function_utils.h
+++ b/
compiler-rt/lib/orc/wrapper_function_utils.h
@@
-125,7
+125,7
@@
serializeViaSPSToWrapperFunctionResult(const ArgTs &...Args) {
if (!SPSArgListT::serialize(OB, Args...))
return make_error<StringError>(
"Error serializing arguments to blob in call");
- return
Result
;
+ return
std::move(Result)
;
}
template <typename RetT> class WrapperFunctionHandlerCaller {