summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DebugInfo.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2015-02-09 21:55:44 +0000
committerBen Langmuir <blangmuir@apple.com>2015-02-09 21:55:44 +0000
commit541c202be860af8564766bcd787f105002e3dde4 (patch)
tree991fc5630468d26016aada93c20198e29ddada6d /llvm/lib/IR/DebugInfo.cpp
parent5fc82fd6b5af5ae9d2f43ee847213ba2fbeda45f (diff)
downloadbcm5719-llvm-541c202be860af8564766bcd787f105002e3dde4.tar.gz
bcm5719-llvm-541c202be860af8564766bcd787f105002e3dde4.zip
Be more conservative about gethostname()'s truncating behaviour
Don't assume it will provide an error or null-terminate the string on truncation, since POSIX doesn't guarantee either behaviour (although Linux and Darwin at least will do the 'right thing'). llvm-svn: 228613
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud