Clear the output string passed to GetHostName()

LLVM's wchar to UTF8 conversion routine expects an empty string to store the output.
GetHostName() on Windows is sometimes called with a non-empty string which triggers
an assert. The simple fix is to clear the output string before the conversion.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@358550 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed