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:
ac86024
)
[JITLink] Add missing moves from 43acef48d38e.
author
Lang Hames
<lhames@gmail.com>
Fri, 15 Apr 2022 19:57:19 +0000
(12:57 -0700)
committer
Lang Hames
<lhames@gmail.com>
Fri, 15 Apr 2022 19:58:22 +0000
(12:58 -0700)
llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
b/llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
index
9427b93
..
6770239
100644
(file)
--- a/
llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
+++ b/
llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
@@
-446,7
+446,7
@@
Expected<uint8_t> EHFrameEdgeFixer::readPointerEncoding(BinaryStreamReader &R,
uint8_t PointerEncoding;
if (auto Err = R.readInteger(PointerEncoding))
- return
Err
;
+ return
std::move(Err)
;
bool Supported = true;
switch (PointerEncoding & 0xf) {
@@
-525,7
+525,7
@@
Expected<Symbol *> EHFrameEdgeFixer::getOrCreateEncodedPointerEdge(
dbgs() << "\n";
});
if (auto Err = skipEncodedPointer(PointerEncoding, RecordReader))
- return
Err
;
+ return
std::move(Err)
;
return EdgeI->second.Target;
}
}