From: Lang Hames Date: Mon, 19 Jul 2021 10:59:28 +0000 (+1000) Subject: [ORC-RT] Fix missing std::move. X-Git-Tag: llvmorg-14-init~1074 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad4f04773c3c364e87321f7e2957eaf9779063f2;p=platform%2Fupstream%2Fllvm.git [ORC-RT] Fix missing std::move. This should fix the 'could-not-covert' error at wrapper_function_utils.h:128 in https://lab.llvm.org/buildbot/#/builders/112/builds/7748. --- diff --git a/compiler-rt/lib/orc/wrapper_function_utils.h b/compiler-rt/lib/orc/wrapper_function_utils.h index 0c6973d..49faa03 100644 --- 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( "Error serializing arguments to blob in call"); - return Result; + return std::move(Result); } template class WrapperFunctionHandlerCaller {