mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-25 23:45:36 +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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268111 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f8bfee254f
commit
2534484e89
@ -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