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 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
