aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/Host/SocketTest.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2025-06-26 13:51:14 +0200
committerGitHub <noreply@github.com>2025-06-26 13:51:14 +0200
commitb77114b723eb68563a0900846df5bd1b454edc2f (patch)
tree36ed38d9b16c9b517d056562d1d1780f233ed4dd /lldb/unittests/Host/SocketTest.cpp
parentf64d5df3c2524d92b3257ac50cfd941393159f98 (diff)
downloadllvm-b77114b723eb68563a0900846df5bd1b454edc2f.zip
llvm-b77114b723eb68563a0900846df5bd1b454edc2f.tar.gz
llvm-b77114b723eb68563a0900846df5bd1b454edc2f.tar.bz2
[lldb] Remove child_process_inherit argument from Pipe (#145516)
It's not necessary on posix platforms as of #126935 and it's ignored on windows as of #138896. For both platforms, we have a better way of inheriting FDs/HANDLEs.
Diffstat (limited to 'lldb/unittests/Host/SocketTest.cpp')
-rw-r--r--lldb/unittests/Host/SocketTest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/unittests/Host/SocketTest.cpp b/lldb/unittests/Host/SocketTest.cpp
index 9fefb2a..5d00852 100644
--- a/lldb/unittests/Host/SocketTest.cpp
+++ b/lldb/unittests/Host/SocketTest.cpp
@@ -199,9 +199,7 @@ TEST_P(SocketTest, TCPAcceptTimeout) {
if (!HostSupportsProtocol())
return;
- const bool child_processes_inherit = false;
- auto listen_socket_up =
- std::make_unique<TCPSocket>(true, child_processes_inherit);
+ auto listen_socket_up = std::make_unique<TCPSocket>(true);
Status error = listen_socket_up->Listen(
llvm::formatv("[{0}]:0", GetParam().localhost_ip).str(), 5);
ASSERT_THAT_ERROR(error.ToError(), llvm::Succeeded());