llvm-project/lldb/source/Host/posix
David Zarzycki b250d5ff5e [LLDB] Do not try to canonicalize gethostname() result
This code is trying too hard and failing. Either the result of
gethostname() is canonical or it is not. If it is not, then trying to
canonicalize it is – for various reasons – a lost cause. For example, a
given machine might have multiple network interfaces with multiple
addresses per interface, each with a different canonical name.
Separably, the result of HostInfoPosix::GetHostname() and latency
thereof shouldn't depend on whether networking is up or down or what
network the machine happened to be attached to at any given moment (like
a laptop that travels between work and home).

https://reviews.llvm.org/D67230

llvm-svn: 371596
2019-09-11 08:32:37 +00:00
..
ConnectionFileDescriptorPosix.cpp [ConnectionFileDescriptor] Add shutdown check in ::Write. 2019-08-27 01:34:16 +00:00
DomainSocket.cpp Fix problem with r362192 2019-05-31 05:55:07 +00:00
FileSystem.cpp [lldb] Add missing EINTR handling 2019-03-21 19:35:55 +00:00
HostInfoPosix.cpp [LLDB] Do not try to canonicalize gethostname() result 2019-09-11 08:32:37 +00:00
HostProcessPosix.cpp Change LaunchThread interface to return an Expected for non-Apple-non-Windows 2019-07-08 07:07:05 +00:00
HostThreadPosix.cpp [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
LockFilePosix.cpp [lldb] Add missing EINTR handling 2019-03-21 19:35:55 +00:00
PipePosix.cpp [lldb] Add missing EINTR handling 2019-03-21 19:35:55 +00:00
ProcessLauncherPosixFork.cpp Fix file names in file headers. NFC 2019-05-13 04:42:32 +00:00