Set the OS in the triple correctly in response to the qHostInfo packet.
llvm-svn: 139759
This commit is contained in:
@@ -949,7 +949,7 @@ GDBRemoteCommunicationClient::GetHostInfo (bool force)
|
||||
if (!vendor_name.empty())
|
||||
m_host_arch.GetTriple().setVendorName (llvm::StringRef (vendor_name));
|
||||
if (!os_name.empty())
|
||||
m_host_arch.GetTriple().setVendorName (llvm::StringRef (os_name));
|
||||
m_host_arch.GetTriple().setOSName (llvm::StringRef (os_name));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user