[Lldb-commits] [PATCH] D112169: [lldb] [Communication] Add a WriteAll() method that resumes writing

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 26 01:55:20 PDT 2021


mgorny added inline comments.


================
Comment at: lldb/source/Core/Communication.cpp:200
+    total_written += written;
+    if (status != eConnectionStatusSuccess || total_written >= src_len)
+      break;
----------------
labath wrote:
> It looks like this could be a do-while loop.
Ah, yes, without the sleep it makes sense.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112169/new/

https://reviews.llvm.org/D112169



More information about the lldb-commits mailing list