forked from OSchip/llvm-project
[lldb] Don't overwrite the host arch with the process arch
Don't overwrite the host architecture (obtained from qHostInfo) with the process info (obtained from qProcessInfo). Differential revision: https://reviews.llvm.org/D121442
This commit is contained in:
parent
d477f1bb15
commit
4ef07e5ffe
|
@ -2246,9 +2246,6 @@ bool GDBRemoteCommunicationClient::GetCurrentProcessInfo(bool allow_lazy) {
|
|||
m_process_arch.GetTriple().setVendorName(llvm::StringRef(vendor_name));
|
||||
m_process_arch.GetTriple().setOSName(llvm::StringRef(os_name));
|
||||
m_process_arch.GetTriple().setEnvironmentName(llvm::StringRef(environment));
|
||||
m_host_arch.GetTriple().setVendorName(llvm::StringRef(vendor_name));
|
||||
m_host_arch.GetTriple().setOSName(llvm::StringRef(os_name));
|
||||
m_host_arch.GetTriple().setEnvironmentName(llvm::StringRef(environment));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue