[llvm] dedf006 - Fix for buildbot failure: https://lab.llvm.org/buildbot#builders/110/builds/11051

Alexey Lapshin via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 9 03:38:04 PST 2022


Author: Alexey Lapshin
Date: 2022-03-09T14:26:46+03:00
New Revision: dedf006fa9045404b948297bd496524fd04054ff

URL: https://github.com/llvm/llvm-project/commit/dedf006fa9045404b948297bd496524fd04054ff
DIFF: https://github.com/llvm/llvm-project/commit/dedf006fa9045404b948297bd496524fd04054ff.diff

LOG: Fix for buildbot failure: https://lab.llvm.org/buildbot#builders/110/builds/11051
after https://reviews.llvm.org/D121005

Added: 
    

Modified: 
    llvm/unittests/ObjCopy/ObjCopyTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/ObjCopy/ObjCopyTest.cpp b/llvm/unittests/ObjCopy/ObjCopyTest.cpp
index 867742aa9799b..db74dc3b7d957 100644
--- a/llvm/unittests/ObjCopy/ObjCopyTest.cpp
+++ b/llvm/unittests/ObjCopy/ObjCopyTest.cpp
@@ -115,7 +115,7 @@ Expected<std::unique_ptr<ObjectFile>> createObjectFileFromYamlDescription(
   if (!IsValidFormat(*Obj))
     return createError("wrong file format");
 
-  return Obj;
+  return std::move(Obj);
 }
 
 // Call objcopy::executeObjcopyOnBinary for \p Config and \p In. \p DataVector


        


More information about the llvm-commits mailing list