[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:
Jonas Devlieghere 2022-03-10 22:52:20 -08:00
parent d477f1bb15
commit 4ef07e5ffe
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}