diff options
| author | Pavel Labath <labath@google.com> | 2017-04-19 10:13:22 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-04-19 10:13:22 +0000 |
| commit | 107e694271b5b2679136de194f461c1b6c33463f (patch) | |
| tree | b39334f192851936561e48467cf20fd3ee9bcfe7 /lldb/source/Plugins/Platform/Android | |
| parent | 742aed86833d23ad559c6437a0fc7ab47f3bbdf8 (diff) | |
| download | bcm5719-llvm-107e694271b5b2679136de194f461c1b6c33463f.tar.gz bcm5719-llvm-107e694271b5b2679136de194f461c1b6c33463f.zip | |
Revert yesterdays IPv6 patches
The break the linux bots (and probably any other machine which would
run the test suite in a massively parallel way). The problem is that it
can happen that we only successfully create an IPv6 listening socket
(because the relevant IPv4 port is used by another process) and then the
connecting side attempts to connect to the IPv4 port and fails.
It's not very obvious how to fix this problem, so I am reverting this
until we come up with a solution.
llvm-svn: 300669
Diffstat (limited to 'lldb/source/Plugins/Platform/Android')
| -rw-r--r-- | lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp b/lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp index 034518c1d2e..0c5e478d470 100644 --- a/lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp +++ b/lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp @@ -67,7 +67,7 @@ static Error DeleteForwardPortWithAdb(uint16_t local_port, static Error FindUnusedPort(uint16_t &port) { Error error; - std::unique_ptr<TCPSocket> tcp_socket(new TCPSocket(true, false)); + std::unique_ptr<TCPSocket> tcp_socket(new TCPSocket(false, error)); if (error.Fail()) return error; |

