aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorAiden Grossman <agrossman154@yahoo.com>2023-03-09 17:20:18 +0000
committerAiden Grossman <agrossman154@yahoo.com>2023-03-09 17:21:07 +0000
commit061023e45062292cc700dbd83ebcd9b720a2a220 (patch)
treefaf9556b9be2e5ae9a4b3bfd586c65691e26aff7 /llvm/lib/Object/ELF.cpp
parentacecf68c8b7c3c625cfa00f00f8ddc8f15baae44 (diff)
downloadllvm-061023e45062292cc700dbd83ebcd9b720a2a220.zip
llvm-061023e45062292cc700dbd83ebcd9b720a2a220.tar.gz
llvm-061023e45062292cc700dbd83ebcd9b720a2a220.tar.bz2
[ELF] Fix build after getSectionAndRelocations Refactoring
Didn't fail locally for some reason with my gcc toolchain.
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;
}