[Lldb-commits] [PATCH] D32357: Add more arguments to SocketAddress::GetAddressInfo
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 21 09:41:43 PDT 2017
labath created this revision.
the reason for this is two-fold:
- getaddrinfo without the extra arguments will return the same
(network-level) address multiple times, once for each supported
transport protocol, which is not what is usually intended (it certainly
wasn't in https://reviews.llvm.org/D31823)
- it enables us to rewrite the getaddrinfo member function in terms of
the static GetAddressInfo function.
https://reviews.llvm.org/D32357
Files:
include/lldb/Host/SocketAddress.h
source/Host/common/SocketAddress.cpp
unittests/Host/SocketAddressTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32357.96160.patch
Type: text/x-patch
Size: 4068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170421/93d7ca4b/attachment.bin>
More information about the lldb-commits
mailing list