llvm-project/lldb
Michał Górny 03b8f79048 [lldb] [gdb-remote] Use Communication::WriteAll() over Write()
Replace the uses of Communication::Write() with WriteAll() to avoid
partial writes.  None of the call sites actually accounted for that
possibility and even if it is unlikely to actually happen, there doesn't
seem to be any real harm from using WriteAll() instead.

Ideally, we'd remove Write() from the public API.  However, that would
change the API of SBCommunication.  The alternative would be to alias it
to WriteAll().

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D132395
2022-08-23 15:49:16 +02:00
..
bindings Don't create sections for SHN_ABS symbols in ELF files. 2022-08-22 14:46:27 -07:00
cmake [clang][lldb][cmake] Use new `*_INSTALL_LIBDIR_BASENAME` CPP macro 2022-08-20 12:52:21 -04:00
docs [lldb] Fix formatting in python-reference.rst 2022-08-07 12:17:36 -06:00
examples [LLDB] Remove __future__ imports from examples 2022-08-15 09:04:25 +00:00
include/lldb Don't create sections for SHN_ABS symbols in ELF files. 2022-08-22 14:46:27 -07:00
packages/Python/lldbsuite [lldb] Remove prefer-dynamic-value test override 2022-08-22 15:46:03 -07:00
resources
scripts
source [lldb] [gdb-remote] Use Communication::WriteAll() over Write() 2022-08-23 15:49:16 +02:00
test [lldb] Remove prefer-dynamic-value test override 2022-08-22 15:46:03 -07:00
third_party/Python/module [lldb] Remove uses of six module (NFC) 2022-08-11 19:06:15 -07:00
tools Modify all register values whose byte size matches the address size to be formatter as eFormatAddressInfo. 2022-08-22 14:48:16 -07:00
unittests [lldb] [gdb-remote] Use Communication::WriteAll() over Write() 2022-08-23 15:49:16 +02:00
utils [lldb] Refactor command option enum values (NFC) 2022-07-14 21:18:07 -07:00
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt lldb: Disable unittests if llvm_gtest target does not exist 2022-08-10 16:56:08 -07:00
CODE_OWNERS.txt [CODE OWNERS] Add wallace as code owner 2022-01-12 12:36:30 -08:00
LICENSE.TXT
use_lldb_suite_root.py