[llvm] f8752e2 - [ORC] Fix missing std::move from 9eb4939b862.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 19 22:57:38 PST 2022
Author: Lang Hames
Date: 2022-01-20T17:56:56+11:00
New Revision: f8752e28fd3ddcb460adc9b2f391753e52d4be2f
URL: https://github.com/llvm/llvm-project/commit/f8752e28fd3ddcb460adc9b2f391753e52d4be2f
DIFF: https://github.com/llvm/llvm-project/commit/f8752e28fd3ddcb460adc9b2f391753e52d4be2f.diff
LOG: [ORC] Fix missing std::move from 9eb4939b862.
Added:
Modified:
llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp b/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
index 4e6ec445dd2b..28c7fce06555 100644
--- a/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
@@ -292,7 +292,7 @@ class GenericLLVMIRPlatformSupport : public LLJIT::PlatformSupport {
}
return Error::success();
}))
- return Err;
+ return std::move(Err);
LLVM_DEBUG({
dbgs() << "JITDylib init order is [ ";
More information about the llvm-commits
mailing list