llvm-project
ef20b6a1 - [lldb][windows] keep track of interrupted reads in ConnectionGenericFile (#182536)

Commit
67 days ago
[lldb][windows] keep track of interrupted reads in ConnectionGenericFile (#182536) If a read is interrupted in `ConnectionGenericFile::Read`, the data that has already been read by `ReadFile` is lost. This patch adds `m_read_pending` to mark a read as interrupted. The next read will pick up the results of the previous read and return the number of `bytes_read`.
Parents
Loading