llvm-project/lldb/unittests/Host
Antonio Afonso d556095135 Make ConnectionFileDescription work with all sockets
Summary:
My main goal here is to make lldb-server work with Android Studio.

This is currently not the case because lldb-server is started in platform mode listening on a domain socket. When Android Studio connects to it lldb-server crashes because even though it's listening on a domain socket as soon as it gets a connection it asserts that it's a TCP connection, which will obviously fails for any non-tcp connection.

To do this I came up with a new method called GetConnectURI() in Socket that returns the URI needed to connect to the connected portion of the socket.

Reviewers: labath, clayborg, xiaobai

Reviewed By: labath

Subscribers: mgorny, jfb, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D62089

llvm-svn: 362173
2019-05-30 23:30:35 +00:00
..
linux Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Fix IPv6 support on lldb-server platform 2019-05-28 23:26:32 +00:00
ConnectionFileDescriptorTest.cpp Fix IPv6 support on lldb-server platform 2019-05-28 23:26:32 +00:00
FileActionTest.cpp Fix headers for files added in r353047 2019-02-07 17:16:25 +00:00
FileSystemTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
HostInfoTest.cpp Clear the output string passed to GetHostName() 2019-04-17 03:13:06 +00:00
HostTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MainLoopTest.cpp [lldb-server] Introduce Socket::Initialize and Terminate to simply WSASocket setup 2019-04-10 04:57:18 +00:00
NativeProcessProtocolTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ProcessLaunchInfoTest.cpp Fix headers for files added in r353047 2019-02-07 17:16:25 +00:00
SocketAddressTest.cpp [lldb-server] Introduce Socket::Initialize and Terminate to simply WSASocket setup 2019-04-10 04:57:18 +00:00
SocketTest.cpp Make ConnectionFileDescription work with all sockets 2019-05-30 23:30:35 +00:00
SocketTestUtilities.cpp Fix IPv6 support on lldb-server platform 2019-05-28 23:26:32 +00:00
SocketTestUtilities.h Fix IPv6 support on lldb-server platform 2019-05-28 23:26:32 +00:00
TaskPoolTest.cpp [lldb] A few minor fixes in TaskPool 2017-11-30 22:56:11 +00:00