[all-commits] [llvm/llvm-project] 1a7b7e: [lldb] Adding pipe support to lldb_private::MainLo...
John Harrison via All-commits
all-commits at lists.llvm.org
Tue Jul 1 08:59:48 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a7b7e24bcc1041ae0fb90abcfb73d36d76f4a07
https://github.com/llvm/llvm-project/commit/1a7b7e24bcc1041ae0fb90abcfb73d36d76f4a07
Author: John Harrison <harjohn at google.com>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M lldb/include/lldb/Host/windows/MainLoopWindows.h
M lldb/include/lldb/Utility/IOObject.h
M lldb/source/Host/common/File.cpp
M lldb/source/Host/common/JSONTransport.cpp
M lldb/source/Host/common/Socket.cpp
M lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
M lldb/source/Host/windows/MainLoopWindows.cpp
M lldb/source/Utility/IOObject.cpp
M lldb/unittests/Host/FileTest.cpp
M lldb/unittests/Host/MainLoopTest.cpp
Log Message:
-----------
[lldb] Adding pipe support to lldb_private::MainLoopWindows. (#145621)
This updates MainLoopWindows to support events for reading from a pipe
(both anonymous and named pipes) as well as sockets.
This unifies both handle types using `WSAWaitForMultipleEvents` which
can listen to both sockets and handles for change events.
This should allow us to unify how we handle watching pipes/sockets on
Windows and Posix systems.
We can extend this in the future if we want to support watching other
types, like files or even other events like a process life time.
---------
Co-authored-by: Pavel Labath <pavel at labath.sk>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list