[Lldb-commits] [lldb] [lldb][windows] keep track of interrupted reads in ConnectionGenericFile (PR #182536)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 20 08:59:30 PST 2026
================
@@ -176,9 +176,17 @@ size_t ConnectionGenericFile::Read(void *dst, size_t dst_len,
goto finish;
}
+ if (m_read_pending) {
+ if (::GetOverlappedResult(m_file, &m_overlapped, &bytes_read, FALSE)) {
----------------
charles-zablit wrote:
In a follow up patch, I think we will want to fall through to the next `GetOverlappedResult` call to handle errors.
https://github.com/llvm/llvm-project/pull/182536
More information about the lldb-commits
mailing list