29 int bytes_written = 0;
30 const uint8_t *src =
static_cast<const uint8_t *
>(s);
37 if (
byte == 0x23 ||
byte == 0x24 ||
byte == 0x7d ||
byte == 0x2a) {
57 llvm_unreachable(
"All enum cases should be handled");
61 strm.
Printf(
"tid=0x%4.4" PRIx64
" <%4u> %s packet: %s\n",
tid,
ValueType Clear(ValueType mask=~static_cast< ValueType >(0))
Clear one or more flags.
bool Test(ValueType bit) const
Test a single flag bit.
ValueType Set(ValueType mask)
Set one or more flags by logical OR'ing mask with the current flags.
~StreamGDBRemote() override
int PutEscapedBytes(const void *s, size_t src_len)
Output a block of data to the stream performing GDB-remote escaping.
A stream class that can stream formatted output to a file.
@ eBinary
Get and put data as binary instead of as the default string mode.
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
A class that represents a running process on the host machine.
ByteOrder
Byte ordering definitions.
void Dump(Stream &strm) const
uint32_t bytes_transmitted
llvm::StringRef GetTypeStr() const