[Lldb-commits] [lldb] [lldb] Adding file and pipe support to lldb_private::MainLoopWindows. (PR #145621)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 27 10:40:08 PDT 2025
================
@@ -31,20 +31,27 @@ class MainLoopWindows : public MainLoopBase {
Status Run() override;
+ struct FdInfo {
+ FdInfo(intptr_t event, Callback callback)
+ : event(event), callback(callback) {}
+ virtual ~FdInfo() {}
+ virtual void WillPoll() {}
+ virtual void DidPoll() {}
+ virtual void Disarm() {}
+ intptr_t event;
+ Callback callback;
----------------
ashgti wrote:
I reverted this so we have the previous `struct FdInfo` and made the event into its own `IOEvent` type instead. I also made this a class and used accessors instead of making ivars public.
https://github.com/llvm/llvm-project/pull/145621
More information about the lldb-commits
mailing list