[Lldb-commits] [lldb] [lldb][Windows] Synchronize on LOAD_DLL_DEBUG_EVENT in lldb-server (PR #203334)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 18 08:56:50 PDT 2026
JDevlieghere wrote:
I noticed that the class already has a "pause the inferior until the client resumes" mechanism: HandleExceptionEvent notifies the delegate and then blocks the DebugLoop thread inline on m_exception_pred before returning a continue-status. ContinueDebugEvent is deferred and the OS keeps the inferior frozen. Resume() releases it via ContinueAsyncException().
Could we mirror the exception path and block in HandleLoadDllEvent / HandleUnloadDllEvent after notifying the delegate, let Resume() set the predicate, and drop m_pending_dll_event / HasPendingDllEvent() entirely?
https://github.com/llvm/llvm-project/pull/203334
More information about the lldb-commits
mailing list