Skip to content

Commit 4ef07e5

Browse files
committed
[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
1 parent d477f1b commit 4ef07e5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,9 +2246,6 @@ bool GDBRemoteCommunicationClient::GetCurrentProcessInfo(bool allow_lazy) {
22462246
m_process_arch.GetTriple().setVendorName(llvm::StringRef(vendor_name));
22472247
m_process_arch.GetTriple().setOSName(llvm::StringRef(os_name));
22482248
m_process_arch.GetTriple().setEnvironmentName(llvm::StringRef(environment));
2249-
m_host_arch.GetTriple().setVendorName(llvm::StringRef(vendor_name));
2250-
m_host_arch.GetTriple().setOSName(llvm::StringRef(os_name));
2251-
m_host_arch.GetTriple().setEnvironmentName(llvm::StringRef(environment));
22522249
}
22532250
return true;
22542251
}

0 commit comments

Comments
 (0)