Guard GetEscapedHostname against a nullptr hostname.
authorJason Molenda <jmolenda@apple.com>
Fri, 21 Oct 2016 02:32:08 +0000 (02:32 +0000)
committerJason Molenda <jmolenda@apple.com>
Fri, 21 Oct 2016 02:32:08 +0000 (02:32 +0000)
commit14699cf1c601d2e8f0b6bf6b8e651a14a5a1e42d
tree1812e246d2ebb7d199af8174a47c5ed29bda5c2f
parentde9cab942bf1f91643c2a88d95d9d6a55fc1e77f
Guard GetEscapedHostname against a nullptr hostname.
This can happen if you debug an iOS corefile on
a mac, where PlatformPOSIX::GetHostname ends up
not providing a hostname because we're working
with a platform of remote-ios.

llvm-svn: 284799
lldb/source/Utility/ModuleCache.cpp