mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-24 20:44:09 +00:00
[Orc] Make sure we don't drop the internal error in OrcRemoteTargetClient when
the constructor fails, as this would lead to an 'unchecked error' crash. llvm-svn: 268111
This commit is contained in:
parent
d49a8f9b54
commit
ae643ee2d1
@ -693,8 +693,9 @@ private:
|
||||
std::tie(RemoteTargetTriple, RemotePointerSize, RemotePageSize,
|
||||
RemoteTrampolineSize, RemoteIndirectStubSize) = *RIOrErr;
|
||||
Err = Error::success();
|
||||
} else
|
||||
Err = RIOrErr.takeError();
|
||||
} else {
|
||||
Err = joinErrors(RIOrErr.takeError(), std::move(ExistingError));
|
||||
}
|
||||
}
|
||||
|
||||
Error deregisterEHFrames(TargetAddress Addr, uint32_t Size) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user