diff options
author | Antonio Afonso <antonio.afonso@gmail.com> | 2019-05-30 23:30:35 +0000 |
---|---|---|
committer | Antonio Afonso <antonio.afonso@gmail.com> | 2019-05-30 23:30:35 +0000 |
commit | d556095135cf5d4b952b96e4fe7635791b67c2c8 (patch) | |
tree | 260f45fc5ec6803c60561e8868ac489ed432341e /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 375dec5e45146a3ba38f6b91f4b051cbd7467079 (diff) | |
download | bcm5719-llvm-d556095135cf5d4b952b96e4fe7635791b67c2c8.tar.gz bcm5719-llvm-d556095135cf5d4b952b96e4fe7635791b67c2c8.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions