projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acecf68
)
[ELF] Fix build after getSectionAndRelocations Refactoring
author
Aiden Grossman
<agrossman154@yahoo.com>
Thu, 9 Mar 2023 17:20:18 +0000
(17:20 +0000)
committer
Aiden Grossman
<agrossman154@yahoo.com>
Thu, 9 Mar 2023 17:21:07 +0000
(17:21 +0000)
Didn't fail locally for some reason with my gcc toolchain.
llvm/lib/Object/ELF.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Object/ELF.cpp
b/llvm/lib/Object/ELF.cpp
index
aaa2abf
..
46e1b13
100644
(file)
--- 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;
}