Commit 32056b4e authored by Lang Hames's avatar Lang Hames Committed by Hans Wennborg
Browse files

[ORC] Fix a missing move in ce2207ab.

This should fix the build failure at
http://lab.llvm.org:8011/builders/clang-cmake-x86_64-sde-avx512-linux/builds/32524
and others.

(cherry picked from commit e0a6093a)
parent 32723d57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ irManglingOptionsFromTargetOptions(const TargetOptions &Opts) {
Expected<SimpleCompiler::CompileResult> SimpleCompiler::operator()(Module &M) {
  CompileResult CachedObject = tryToLoadFromObjectCache(M);
  if (CachedObject)
    return CachedObject;
    return std::move(CachedObject);

  SmallVector<char, 0> ObjBufferSV;