aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
-rw-r--r--llvm/lib/Object/ELF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/ELF.cpp b/llvm/lib/Object/ELF.cpp
index aaa2abf..46e1b13 100644
--- a/llvm/lib/Object/ELF.cpp
+++ b/llvm/lib/Object/ELF.cpp
@@ -746,7 +746,7 @@ ELFFile<ELFT>::getSectionAndRelocations(
SecToRelocMap[ContentsSec] = &Sec;
}
if(Errors)
- return Errors;
+ return std::move(Errors);
return SecToRelocMap;
}