[Lldb-commits] [PATCH] Add Socket::Get[Remote/Local]IpAddress and unit tests
vharron at google.com
Sun Jan 11 02:22:14 PST 2015
Hi clayborg, ovyalov, sivachandra,
Why did I make this patch?
I am trying to get the remote tests running linux->linux when the hosts are multi-homed, localhost or don't have proper DNS entries.
I need to add Socket::Get[Remote/Local]IpAddress
I wanted to make some unit tests to test it
So I created a unit test binary
Socket has a really, really big number of dependencies (like all of lldb)
I removed references to Args::StringToUInt32 and created SocketGlue to get the unit test binary linking without pulling in everything
It's a bit of a hack but it gets the job done
I needed to use inet_ntop, which doesn't exist on Windows XP, so I implemented that, too
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 17287 bytes
Desc: not available
More information about the lldb-commits