forked from OSchip/llvm-project
Set the OS in the triple correctly in response to the qHostInfo packet.
llvm-svn: 139759
This commit is contained in:
parent
da5f010177
commit
e1dadb831a
|
@ -949,7 +949,7 @@ GDBRemoteCommunicationClient::GetHostInfo (bool force)
|
||||||
if (!vendor_name.empty())
|
if (!vendor_name.empty())
|
||||||
m_host_arch.GetTriple().setVendorName (llvm::StringRef (vendor_name));
|
m_host_arch.GetTriple().setVendorName (llvm::StringRef (vendor_name));
|
||||||
if (!os_name.empty())
|
if (!os_name.empty())
|
||||||
m_host_arch.GetTriple().setVendorName (llvm::StringRef (os_name));
|
m_host_arch.GetTriple().setOSName (llvm::StringRef (os_name));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue