[Lldb-commits] [PATCH] D132395: [lldb] [gdb-remote] Use Communication::WriteAll() over Write()
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 23 05:13:48 PDT 2022
labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.
> Ideally, we'd remove Write() from the public API.
That might be a bit too extreme. Although I agree that the "All" version is what one wants in most cases, there are use cases (and plenty of historical precedent) for the other version.
I could imagine renaming things such that one is discouraged (or at least forced to think) from using automatically the `Write` function. Maybe call it `WriteSome`, `WritePartial`, ...
However we'd also need to think about consistency with all our other classes which have `Write` methods.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132395/new/
https://reviews.llvm.org/D132395
More information about the lldb-commits
mailing list