diff options
author | David Zarzycki <dave@znu.io> | 2019-09-11 08:32:37 +0000 |
---|---|---|
committer | David Zarzycki <dave@znu.io> | 2019-09-11 08:32:37 +0000 |
commit | b250d5ff5e7c5ebd9f3f5da6776ffc91cd01c614 (patch) | |
tree | b5ae3640f98bea53303ff778cced58ad9c5147d0 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | e4961218fd5b9bb36810b8dc05481f29068dbbdd (diff) | |
download | bcm5719-llvm-b250d5ff5e7c5ebd9f3f5da6776ffc91cd01c614.tar.gz bcm5719-llvm-b250d5ff5e7c5ebd9f3f5da6776ffc91cd01c614.zip |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions