LLDB  mainline
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lldb_private::Stream Class Referenceabstract

A stream class that can stream formatted output to a file. More...

#include "lldb/Utility/Stream.h"

Inheritance diagram for lldb_private::Stream:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::Stream:
Collaboration graph
[legend]

Classes

class  ByteDelta
 
class  RawOstreamForward
 This is a wrapper class that exposes a raw_ostream interface that just forwards to an LLDB stream, allowing to reuse LLVM algorithms that take a raw_ostream within the LLDB code base. More...
 

Public Types

enum  { eBinary = (1 << 0) }
 m_flags bit values. More...
 

Public Member Functions

 Stream (uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order)
 Construct with flags and address size and byte order. More...
 
 Stream ()
 Construct a default Stream, not binary, host byte order and host addr size. More...
 
 Stream (const Stream &other)
 
Streamoperator= (const Stream &rhs)
 
virtual ~Stream ()
 Destructor. More...
 
virtual void Flush ()=0
 Flush the stream. More...
 
size_t Write (const void *src, size_t src_len)
 Output character bytes to the stream. More...
 
size_t GetWrittenBytes () const
 
size_t PutChar (char ch)
 
lldb::ByteOrder SetByteOrder (lldb::ByteOrder byte_order)
 Set the byte_order value. More...
 
size_t PrintfAsRawHex8 (const char *format,...) __attribute__((__format__(__printf__
 Format a C string from a printf style format and variable arguments and encode and append the resulting C string as hex bytes. More...
 
size_t size_t PutHex8 (uint8_t uvalue)
 Append an uint8_t value in the hexadecimal format to the stream. More...
 
size_t PutNHex8 (size_t n, uint8_t uvalue)
 
size_t PutHex16 (uint16_t uvalue, lldb::ByteOrder byte_order=lldb::eByteOrderInvalid)
 
size_t PutHex32 (uint32_t uvalue, lldb::ByteOrder byte_order=lldb::eByteOrderInvalid)
 
size_t PutHex64 (uint64_t uvalue, lldb::ByteOrder byte_order=lldb::eByteOrderInvalid)
 
size_t PutMaxHex64 (uint64_t uvalue, size_t byte_size, lldb::ByteOrder byte_order=lldb::eByteOrderInvalid)
 
size_t PutFloat (float f, lldb::ByteOrder byte_order=lldb::eByteOrderInvalid)
 
size_t PutDouble (double d, lldb::ByteOrder byte_order=lldb::eByteOrderInvalid)
 
size_t PutLongDouble (long double ld, lldb::ByteOrder byte_order=lldb::eByteOrderInvalid)
 
size_t PutPointer (void *ptr)
 
size_t PutBytesAsRawHex8 (const void *src, size_t src_len, lldb::ByteOrder src_byte_order=lldb::eByteOrderInvalid, lldb::ByteOrder dst_byte_order=lldb::eByteOrderInvalid)
 
size_t PutRawBytes (const void *s, size_t src_len, lldb::ByteOrder src_byte_order=lldb::eByteOrderInvalid, lldb::ByteOrder dst_byte_order=lldb::eByteOrderInvalid)
 
size_t PutStringAsRawHex8 (llvm::StringRef s)
 
Streamoperator<< (const char *cstr)
 Output a NULL terminated C string cstr to the stream s. More...
 
Streamoperator<< (llvm::StringRef str)
 
Streamoperator<< (const void *p)
 Output a pointer value p to the stream s. More...
 
Streamoperator<< (char ch)
 Output a character ch to the stream s. More...
 
Streamoperator<< (uint8_t uval)
 Output a uint8_t uval to the stream s. More...
 
Streamoperator<< (uint16_t uval)
 Output a uint16_t uval to the stream s. More...
 
Streamoperator<< (uint32_t uval)
 Output a uint32_t uval to the stream s. More...
 
Streamoperator<< (uint64_t uval)
 Output a uint64_t uval to the stream s. More...
 
Streamoperator<< (int8_t sval)
 Output a int8_t sval to the stream s. More...
 
Streamoperator<< (int16_t sval)
 Output a int16_t sval to the stream s. More...
 
Streamoperator<< (int32_t sval)
 Output a int32_t sval to the stream s. More...
 
Streamoperator<< (int64_t sval)
 Output a int64_t sval to the stream s. More...
 
void Address (uint64_t addr, uint32_t addr_size, const char *prefix=nullptr, const char *suffix=nullptr)
 Output an address value to this stream. More...
 
void AddressRange (uint64_t lo_addr, uint64_t hi_addr, uint32_t addr_size, const char *prefix=nullptr, const char *suffix=nullptr)
 Output an address range to this stream. More...
 
size_t PutCString (llvm::StringRef cstr)
 Output a C string to the stream. More...
 
size_t EOL ()
 Output and End of Line character to the stream. More...
 
uint32_t GetAddressByteSize () const
 Get the address size in bytes. More...
 
FlagsGetFlags ()
 The flags accessor. More...
 
const FlagsGetFlags () const
 The flags const accessor. More...
 
lldb::ByteOrder GetByteOrder () const
 
int GetIndentLevel () const
 Get the current indentation level. More...
 
size_t Indent (const char *s=nullptr)
 Indent the current line in the stream. More...
 
size_t Indent (llvm::StringRef s)
 
void IndentLess (int amount=2)
 Decrement the current indentation level. More...
 
void IndentMore (int amount=2)
 Increment the current indentation level. More...
 
void Offset (uint32_t offset, const char *format="0x%8.8x: ")
 Output an offset value. More...
 
size_t Printf (const char *format,...) __attribute__((format(printf
 Output printf formatted output to the stream. More...
 
size_t size_t PrintfVarArg (const char *format, va_list args)
 
template<typename... Args>
void Format (const char *format, Args &&... args)
 
void QuotedCString (const char *cstr, const char *format="\s\)
 Output a quoted C string value to the stream. More...
 
void SetAddressByteSize (uint32_t addr_size)
 Set the address size in bytes. More...
 
void SetIndentLevel (int level)
 Set the current indentation level. More...
 
size_t PutSLEB128 (int64_t uval)
 Output a SLEB128 number to the stream. More...
 
size_t PutULEB128 (uint64_t uval)
 Output a ULEB128 number to the stream. More...
 
llvm::raw_ostream & AsRawOstream ()
 Returns a raw_ostream that forwards the data to this Stream object. More...
 

Protected Member Functions

void _PutHex8 (uint8_t uvalue, bool add_prefix)
 
virtual size_t WriteImpl (const void *src, size_t src_len)=0
 Output character bytes to the stream. More...
 

Protected Attributes

Flags m_flags
 Dump flags. More...
 
uint32_t m_addr_size
 Size of an address in bytes. More...
 
lldb::ByteOrder m_byte_order
 Byte order to use when encoding scalar types. More...
 
int m_indent_level
 Indention level. More...
 
std::size_t m_bytes_written = 0
 Number of bytes written so far. More...
 
RawOstreamForward m_forwarder
 

Detailed Description

A stream class that can stream formatted output to a file.

Definition at line 28 of file Stream.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

m_flags bit values.

Enumerator
eBinary 

Get and put data as binary instead of as the default string mode.

Definition at line 31 of file Stream.h.

Constructor & Destructor Documentation

◆ Stream() [1/3]

Stream::Stream ( uint32_t  flags,
uint32_t  addr_size,
lldb::ByteOrder  byte_order 
)

Construct with flags and address size and byte order.

Construct with dump flags flags and the default address size. flags can be any of the above enumeration logical OR'ed together.

Definition at line 24 of file Stream.cpp.

◆ Stream() [2/3]

Stream::Stream ( )

Construct a default Stream, not binary, host byte order and host addr size.

Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 28 of file Stream.cpp.

Referenced by lldb_private::Stream::ByteDelta::operator*().

◆ Stream() [3/3]

lldb_private::Stream::Stream ( const Stream other)
inline

Definition at line 67 of file Stream.h.

◆ ~Stream()

Stream::~Stream ( )
virtual

Destructor.

Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 33 of file Stream.cpp.

Referenced by operator=().

Member Function Documentation

◆ _PutHex8()

void Stream::_PutHex8 ( uint8_t  uvalue,
bool  add_prefix 
)
protected

◆ Address()

void Stream::Address ( uint64_t  addr,
uint32_t  addr_size,
const char *  prefix = nullptr,
const char *  suffix = nullptr 
)

Output an address value to this stream.

Put an address addr out to the stream with optional prefix and suffix strings.

Parameters
[in]addrAn address value.
[in]addr_sizeSize in bytes of the address, used for formatting.
[in]prefixA prefix C string. If nullptr, no prefix will be output.
[in]suffixA suffix C string. If nullptr, no suffix will be output.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 79 of file Stream.cpp.

References Printf().

Referenced by AddressRange(), DWARFDebugRanges::Dump(), DWARFFormValue::Dump(), lldb_private::AddressRange::Dump(), lldb_private::Address::Dump(), lldb_private::DumpDataExtractor(), lldb_private::ThreadPlanStepThrough::GetDescription(), lldb_private::ThreadPlanStepInstruction::GetDescription(), lldb_private::ThreadPlanRunToAddress::GetDescription(), GetWrittenBytes(), lldb_private::ThreadPlanStepInstruction::ShouldStop(), lldb_private::ThreadPlanStepOverRange::ShouldStop(), lldb_private::ThreadPlanStepInRange::ShouldStop(), and lldb_private::ThreadPlanRunToAddress::ValidatePlan().

◆ AddressRange()

void Stream::AddressRange ( uint64_t  lo_addr,
uint64_t  hi_addr,
uint32_t  addr_size,
const char *  prefix = nullptr,
const char *  suffix = nullptr 
)

Output an address range to this stream.

Put an address range lo_addr - hi_addr out to the stream with optional prefix and suffix strings.

Parameters
[in]lo_addrThe start address of the address range.
[in]hi_addrThe end address of the address range.
[in]addr_sizeSize in bytes of the address, used for formatting.
[in]prefixA prefix C string. If nullptr, no prefix will be output.
[in]suffixA suffix C string. If nullptr, no suffix will be output.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 92 of file Stream.cpp.

References Address(), and PutCString().

Referenced by DWARFDebugRanges::Dump(), lldb_private::VMRange::Dump(), lldb_private::Block::Dump(), lldb_private::AddressRange::Dump(), lldb_private::Block::DumpAddressRanges(), lldb_private::Block::GetDescription(), GetWrittenBytes(), and lldb_private::DWARFExpression::PrintDWARFLocationList().

◆ AsRawOstream()

llvm::raw_ostream& lldb_private::Stream::AsRawOstream ( )
inline

Returns a raw_ostream that forwards the data to this Stream object.

Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 470 of file Stream.h.

References m_forwarder.

Referenced by lldb_private::ClangASTContext::Dump().

◆ EOL()

size_t Stream::EOL ( )

Output and End of Line character to the stream.

Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 127 of file Stream.cpp.

References PutChar().

Referenced by AddBreakpointDescription(), AddWatchpointDescription(), lldb_private::Disassembler::Disassemble(), lldb_private::SourceManager::File::DisplaySourceLines(), CommandObjectIterateOverThreads::DoExecute(), CommandObjectRenderScriptScriptGroupList::DoExecute(), CommandObjectSettingsShow::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectWatchpointSetVariable::DoExecute(), CommandObjectSourceList::DoExecute(), CommandObjectWatchpointSetExpression::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), CommandObjectPlatformProcessInfo::DoExecute(), CommandObjectBreakpointClear::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectBreakpointNameList::DoExecute(), CommandObjectTargetModulesLookup::DoExecute(), CommandObjectRenderScriptRuntimeAllocationDump::DoExecute(), lldb_private::Variable::Dump(), lldb_private::SymbolVendor::Dump(), ObjectContainerUniversalMachO::Dump(), lldb_private::Property::Dump(), DynamicRegisterInfo::Dump(), ObjectContainerBSDArchive::Dump(), lldb_private::SectionLoadHistory::Dump(), ObjectFileJIT::Dump(), lldb_private::StackFrameList::Dump(), lldb_private::Args::Dump(), lldb_private::LineTable::Dump(), ObjectFilePECOFF::Dump(), lldb_private::Type::Dump(), lldb_private::ClangASTMetadata::Dump(), ObjectFileELF::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Section::Dump(), lldb_private::lldb_renderscript::RSKernelDescriptor::Dump(), lldb_private::ProcessInstanceInfo::Dump(), lldb_private::Block::Dump(), lldb_private::FormatEntity::Entry::Dump(), lldb_private::lldb_renderscript::RSGlobalDescriptor::Dump(), lldb_private::CompileUnit::Dump(), lldb_private::lldb_renderscript::RSReductionDescriptor::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Address::Dump(), lldb_private::StructuredData::Array::Dump(), lldb_private::InstructionList::Dump(), lldb_private::UnwindPlan::Row::Dump(), lldb_private::UnwindPlan::Dump(), lldb_private::ModuleSpecList::Dump(), lldb_private::SymbolContextList::Dump(), lldb_private::Function::Dump(), lldb_private::StructuredData::Dictionary::Dump(), DumpAddress(), lldb_private::RenderScriptRuntime::DumpAllocation(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), lldb_private::RenderScriptRuntime::DumpContexts(), lldb_private::DumpDataExtractor(), lldb_private::Property::DumpDescription(), lldb_private::RenderScriptRuntime::DumpKernels(), lldb_private::DWARFExpression::DumpLocation(), DumpModuleObjfileHeaders(), lldb_private::RenderScriptRuntime::DumpModules(), CommandObjectRegisterRead::DumpRegister(), CommandObjectRegisterRead::DumpRegisterSet(), lldb_private::RenderScriptRuntime::DumpStatus(), lldb_private::SymbolContext::DumpStopContext(), DumpStringToStreamWithNewline(), DumpTargetInfo(), lldb_private::StackFrame::DumpUsingSettingsFormat(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueProperties::DumpValue(), lldb_private::XMLDocument::ErrorCallback(), lldb_private::CommandObjectExpression::EvaluateExpression(), lldb_private::Options::GenerateOptionUsage(), lldb_private::WatchpointOptions::GetCallbackDescription(), lldb::SBInstructionList::GetDescription(), lldb::SBWatchpoint::GetDescription(), lldb_private::LineEntry::GetDescription(), lldb::SBBreakpointLocation::GetDescription(), lldb_private::BreakpointOptions::CommandBaton::GetDescription(), lldb_private::LineTable::GetDescription(), lldb_private::WatchpointOptions::GetDescription(), lldb_private::WatchpointOptions::CommandBaton::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::SymbolContext::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::Breakpoint::GetDescription(), lldb_private::StackFrameList::GetFramesUpTo(), lldb_private::RenderScriptRuntime::GetKernelCoordinate(), lldb_private::Platform::GetStatus(), lldb_private::ObjCLanguage::GetTypeScavenger(), lldb_private::UnwindTable::GetUncachedFuncUnwindersContainingAddress(), GetWrittenBytes(), lldb_private::RenderScriptRuntime::ListAllocations(), lldb_private::RenderScriptRuntime::LoadAllocation(), lldb_private::ThreadPlanAssemblyTracer::Log(), LookupTypeHere(), LookupTypeInModule(), lldb_private::CommandInterpreter::OutputFormattedHelpText(), lldb_private::Options::OutputFormattedUsageText(), lldb_private::CommandInterpreter::OutputHelpText(), lldb_private::Disassembler::PrintInstructions(), CommandObjectTargetModulesList::PrintModule(), PrintPlanElement(), lldb_private::EmulateInstruction::ReadMemoryDefault(), lldb_private::RenderScriptRuntime::RecomputeAllAllocations(), lldb_private::Module::ReportError(), lldb_private::Module::ReportErrorIfModifyDetected(), lldb_private::ThreadPlanCallFunction::ReportRegisterState(), lldb_private::Module::ReportWarning(), lldb_private::RenderScriptRuntime::SaveAllocation(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::TestPacketSpeed(), lldb_private::OptionArgParser::ToFormat(), UUIDsMatch(), lldb_private::lldb_renderscript::RSModuleDescriptor::WarnIfVersionMismatch(), lldb_private::EmulateInstruction::WriteMemoryDefault(), and lldb_private::EmulateInstruction::WriteRegisterDefault().

◆ Flush()

virtual void lldb_private::Stream::Flush ( )
pure virtual

◆ Format()

template<typename... Args>
void lldb_private::Stream::Format ( const char *  format,
Args &&...  args 
)
inline

◆ GetAddressByteSize()

uint32_t Stream::GetAddressByteSize ( ) const

Get the address size in bytes.

Returns
The size of an address in bytes that is used when outputting address and pointer values to the stream.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 229 of file Stream.cpp.

References m_addr_size.

Referenced by DWARFDebugRanges::Dump(), lldb_private::DumpDataExtractor(), lldb_private::CompactUnwindInfo::GetUnwindPlan(), GetWrittenBytes(), and lldb_private::npdb::MakeVFrameRelLocationExpression().

◆ GetByteOrder()

lldb::ByteOrder Stream::GetByteOrder ( ) const

◆ GetFlags() [1/2]

Flags & Stream::GetFlags ( )

The flags accessor.

Returns
A reference to the Flags member variable.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 235 of file Stream.cpp.

References m_flags.

Referenced by DWARFDebugInfoEntry::DumpAttribute(), GetWrittenBytes(), and lldb_private::CompilerType::SetValueFromScalar().

◆ GetFlags() [2/2]

const Flags & Stream::GetFlags ( ) const

The flags const accessor.

Returns
A const reference to the Flags member variable.

Definition at line 238 of file Stream.cpp.

References m_flags.

◆ GetIndentLevel()

int Stream::GetIndentLevel ( ) const

◆ GetWrittenBytes()

size_t lldb_private::Stream::GetWrittenBytes ( ) const
inline

◆ Indent() [1/2]

size_t Stream::Indent ( const char *  s = nullptr)

Indent the current line in the stream.

Indent the current line using the current indentation level and print an optional string following the indentation spaces.

Parameters
[in]sA C string to print following the indentation. If nullptr, just output the indentation characters.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 131 of file Stream.cpp.

References m_indent_level, and Printf().

Referenced by CommandObjectRenderScriptScriptGroupList::DoExecute(), DWARFDebugRanges::Dump(), lldb_private::Variable::Dump(), lldb_private::BreakpointList::Dump(), lldb_private::CommandHistory::Dump(), lldb_private::SymbolVendor::Dump(), lldb_private::Symtab::Dump(), ObjectContainerUniversalMachO::Dump(), ObjectContainerBSDArchive::Dump(), ObjectFileJIT::Dump(), lldb_private::SectionList::Dump(), ObjectFileMachO::Dump(), lldb_private::Args::Dump(), ObjectFilePECOFF::Dump(), lldb_private::Type::Dump(), ObjectFileELF::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Section::Dump(), lldb_private::lldb_renderscript::RSKernelDescriptor::Dump(), lldb_private::Block::Dump(), lldb_private::lldb_renderscript::RSGlobalDescriptor::Dump(), DWARFDebugInfoEntry::Dump(), lldb_private::CompileUnit::Dump(), lldb_private::lldb_renderscript::RSReductionDescriptor::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Address::Dump(), lldb_private::Module::Dump(), lldb_private::StructuredData::Array::Dump(), lldb_private::SymbolContextList::Dump(), lldb_private::Function::Dump(), lldb_private::StructuredData::Dictionary::Dump(), lldb_private::Target::Dump(), DumpAddress(), DWARFDebugInfoEntry::DumpAttribute(), lldb_private::RenderScriptRuntime::DumpKernels(), lldb_private::DWARFExpression::DumpLocation(), CommandObjectRegisterRead::DumpRegister(), CommandObjectRegisterRead::DumpRegisterSet(), lldb_private::RenderScriptRuntime::DumpStatus(), lldb_private::SymbolContext::DumpStopContext(), lldb_private::InlineFunctionInfo::DumpStopContext(), lldb_private::Symtab::DumpSymbolHeader(), lldb_private::Thread::DumpThreadPlans(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueFileSpecList::DumpValue(), lldb_private::Options::GenerateOptionUsage(), lldb_private::ThreadPlanRunToAddress::GetDescription(), lldb_private::BreakpointOptions::CommandBaton::GetDescription(), lldb_private::BreakpointName::Permissions::GetDescription(), lldb_private::WatchpointOptions::GetDescription(), lldb_private::WatchpointOptions::CommandBaton::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::BreakpointName::GetDescription(), lldb_private::SymbolContext::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::SymbolContextSpecifier::GetDescription(), lldb_private::Breakpoint::GetDescription(), lldb_private::Target::StopHook::GetDescription(), lldb_private::StackFrame::GetStatus(), lldb_private::Thread::GetStatus(), GetWrittenBytes(), lldb_private::RenderScriptRuntime::ListAllocations(), lldb_private::StringList::LogDump(), LookupFileAndLineInModule(), LookupFunctionInModule(), LookupSymbolInModule(), LookupTypeHere(), LookupTypeInModule(), lldb_private::CommandInterpreter::OutputFormattedHelpText(), lldb_private::Options::OutputFormattedUsageText(), lldb_private::CommandInterpreter::OutputHelpText(), lldb_private::DWARFExpression::PrintDWARFLocationList(), PrintPlanElement(), and lldb_private::AppleObjCTrampolineHandler::~AppleObjCTrampolineHandler().

◆ Indent() [2/2]

size_t Stream::Indent ( llvm::StringRef  s)

Definition at line 135 of file Stream.cpp.

References m_indent_level, and Printf().

◆ IndentLess()

void Stream::IndentLess ( int  amount = 2)

Decrement the current indentation level.

Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 221 of file Stream.cpp.

References m_indent_level.

Referenced by AddBreakpointDescription(), AddWatchpointDescription(), CommandObjectRenderScriptScriptGroupList::DoExecute(), CommandObjectWatchpointCommandList::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), lldb_private::BreakpointLocationList::Dump(), lldb_private::BreakpointList::Dump(), lldb_private::SymbolVendor::Dump(), lldb_private::BreakpointSiteList::Dump(), lldb_private::Symtab::Dump(), ObjectContainerUniversalMachO::Dump(), ObjectContainerBSDArchive::Dump(), lldb_private::SectionList::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Block::Dump(), DWARFDebugInfoEntry::Dump(), lldb_private::lldb_renderscript::RSReductionDescriptor::Dump(), lldb_private::CompileUnit::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Module::Dump(), lldb_private::StructuredData::Array::Dump(), lldb_private::SymbolContextList::Dump(), lldb_private::StructuredData::Dictionary::Dump(), lldb_private::Target::Dump(), DumpAddress(), lldb_private::RenderScriptRuntime::DumpContexts(), lldb_private::RenderScriptRuntime::DumpKernels(), DumpModuleObjfileHeaders(), lldb_private::RenderScriptRuntime::DumpModules(), DumpModuleSections(), CommandObjectRegisterRead::DumpRegisterSet(), DumpSymbolContextList(), lldb_private::Thread::DumpThreadPlans(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueFileSpecList::DumpValue(), lldb_private::WatchpointList::DumpWithLevel(), lldb_private::Options::GenerateOptionUsage(), lldb_private::BreakpointOptions::CommandBaton::GetDescription(), lldb_private::BreakpointName::Permissions::GetDescription(), lldb_private::WatchpointOptions::GetDescription(), lldb_private::WatchpointOptions::CommandBaton::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::BreakpointName::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::Breakpoint::GetDescription(), lldb_private::StackFrameList::GetStatus(), lldb_private::Thread::GetStatus(), GetWrittenBytes(), lldb_private::RenderScriptRuntime::ListAllocations(), LookupSymbolInModule(), lldb_private::CommandInterpreter::OutputFormattedHelpText(), lldb_private::CommandInterpreter::OutputHelpText(), and PrintPlanElement().

◆ IndentMore()

void Stream::IndentMore ( int  amount = 2)

Increment the current indentation level.

Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 218 of file Stream.cpp.

References m_indent_level.

Referenced by AddBreakpointDescription(), AddWatchpointDescription(), CommandObjectRenderScriptScriptGroupList::DoExecute(), CommandObjectWatchpointCommandList::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), lldb_private::BreakpointLocationList::Dump(), lldb_private::BreakpointList::Dump(), lldb_private::SymbolVendor::Dump(), lldb_private::BreakpointSiteList::Dump(), lldb_private::Symtab::Dump(), ObjectContainerUniversalMachO::Dump(), ObjectContainerBSDArchive::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Block::Dump(), DWARFDebugInfoEntry::Dump(), lldb_private::lldb_renderscript::RSReductionDescriptor::Dump(), lldb_private::CompileUnit::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Module::Dump(), lldb_private::StructuredData::Array::Dump(), lldb_private::SymbolContextList::Dump(), lldb_private::StructuredData::Dictionary::Dump(), lldb_private::Target::Dump(), DumpAddress(), lldb_private::RenderScriptRuntime::DumpContexts(), lldb_private::RenderScriptRuntime::DumpKernels(), DumpModuleObjfileHeaders(), lldb_private::RenderScriptRuntime::DumpModules(), DumpModuleSections(), CommandObjectRegisterRead::DumpRegisterSet(), DumpSymbolContextList(), lldb_private::Thread::DumpThreadPlans(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueFileSpecList::DumpValue(), lldb_private::WatchpointList::DumpWithLevel(), lldb_private::Options::GenerateOptionUsage(), lldb_private::BreakpointOptions::CommandBaton::GetDescription(), lldb_private::BreakpointName::Permissions::GetDescription(), lldb_private::WatchpointOptions::GetDescription(), lldb_private::WatchpointOptions::CommandBaton::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::BreakpointName::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::Breakpoint::GetDescription(), lldb_private::Thread::GetStatus(), GetWrittenBytes(), lldb_private::RenderScriptRuntime::ListAllocations(), LookupSymbolInModule(), lldb_private::CommandInterpreter::OutputFormattedHelpText(), lldb_private::CommandInterpreter::OutputHelpText(), PrintPlanElement(), and lldb_private::Thread::ShouldStop().

◆ Offset()

void Stream::Offset ( uint32_t  offset,
const char *  format = "0x%8.8x: " 
)

Output an offset value.

Put an offset uval out to the stream using the printf format in format.

Parameters
[in]offsetThe offset value.
[in]formatThe printf style format to use when outputting the offset.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 42 of file Stream.cpp.

References Printf().

Referenced by GetWrittenBytes().

◆ operator<<() [1/12]

Stream & Stream::operator<< ( const char *  cstr)

Output a NULL terminated C string cstr to the stream s.

Parameters
[in]cstrA NULL terminated C string.
Returns
A reference to this class so multiple things can be streamed in one statement.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 147 of file Stream.cpp.

References Printf().

Referenced by GetWrittenBytes().

◆ operator<<() [2/12]

Stream & Stream::operator<< ( llvm::StringRef  str)

Definition at line 152 of file Stream.cpp.

References Write().

◆ operator<<() [3/12]

Stream & Stream::operator<< ( const void *  p)

Output a pointer value p to the stream s.

Parameters
[in]pA void pointer.
Returns
A reference to this class so multiple things can be streamed in one statement.

Definition at line 158 of file Stream.cpp.

References Printf().

◆ operator<<() [4/12]

Stream & Stream::operator<< ( char  ch)

Output a character ch to the stream s.

Parameters
[in]chA printable character value.
Returns
A reference to this class so multiple things can be streamed in one statement.

Definition at line 141 of file Stream.cpp.

References PutChar().

◆ operator<<() [5/12]

Stream & Stream::operator<< ( uint8_t  uval)

Output a uint8_t uval to the stream s.

Parameters
[in]uvalA uint8_t value.
Returns
A reference to this class so multiple things can be streamed in one statement.

Definition at line 164 of file Stream.cpp.

References PutHex8().

◆ operator<<() [6/12]

Stream & Stream::operator<< ( uint16_t  uval)

Output a uint16_t uval to the stream s.

Parameters
[in]uvalA uint16_t value.
Returns
A reference to this class so multiple things can be streamed in one statement.

Definition at line 170 of file Stream.cpp.

References m_byte_order, and PutHex16().

◆ operator<<() [7/12]

Stream & Stream::operator<< ( uint32_t  uval)

Output a uint32_t uval to the stream s.

Parameters
[in]uvalA uint32_t value.
Returns
A reference to this class so multiple things can be streamed in one statement.

Definition at line 176 of file Stream.cpp.

References m_byte_order, and PutHex32().

◆ operator<<() [8/12]

Stream & Stream::operator<< ( uint64_t  uval)

Output a uint64_t uval to the stream s.

Parameters
[in]uvalA uint64_t value.
Returns
A reference to this class so multiple things can be streamed in one statement.

Definition at line 182 of file Stream.cpp.

References m_byte_order, and PutHex64().

◆ operator<<() [9/12]

Stream & Stream::operator<< ( int8_t  sval)

Output a int8_t sval to the stream s.

Parameters
[in]svalA int8_t value.
Returns
A reference to this class so multiple things can be streamed in one statement.

Definition at line 188 of file Stream.cpp.

References Printf().

◆ operator<<() [10/12]

Stream & Stream::operator<< ( int16_t  sval)

Output a int16_t sval to the stream s.

Parameters
[in]svalA int16_t value.
Returns
A reference to this class so multiple things can be streamed in one statement.

Definition at line 194 of file Stream.cpp.

References Printf().

◆ operator<<() [11/12]

Stream & Stream::operator<< ( int32_t  sval)

Output a int32_t sval to the stream s.

Parameters
[in]svalA int32_t value.
Returns
A reference to this class so multiple things can be streamed in one statement.

Definition at line 200 of file Stream.cpp.

References Printf().

◆ operator<<() [12/12]

Stream & Stream::operator<< ( int64_t  sval)

Output a int64_t sval to the stream s.

Parameters
[in]svalA int64_t value.
Returns
A reference to this class so multiple things can be streamed in one statement.

Definition at line 206 of file Stream.cpp.

References Printf().

◆ operator=()

Stream& lldb_private::Stream::operator= ( const Stream rhs)
inline

◆ Printf()

size_t Stream::Printf ( const char *  format,
  ... 
)

Output printf formatted output to the stream.

Print some formatted output to the stream.

Parameters
[in]formatA printf style format string.
[in]...Variable arguments that are needed for the printf style format string format.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 106 of file Stream.cpp.

References PrintfVarArg().

Referenced by AddLocalVariableDecls(), AddMacros(), Address(), sddarwinlog_private::EnableCommand::AppendStrictSourcesWarning(), lldb_private::AppleObjCTypeEncodingParser::AppleObjCTypeEncodingParser(), arch_helper(), lldb_private::formatters::BlockPointerSummaryProvider(), lldb_private::CommandInterpreter::BuildAliasResult(), SymbolFileDWARF::CalculateAbilities(), InstructionLLVMC::CalculateMnemonicOperandsAndComment(), lldb_private::formatters::CFAbsoluteTimeSummaryProvider(), lldb_private::formatters::CFBagSummaryProvider(), lldb_private::formatters::CFBinaryHeapSummaryProvider(), lldb_private::formatters::CFBitVectorSummaryProvider(), lldb_private::formatters::Char16StringSummaryProvider(), lldb_private::formatters::Char16SummaryProvider(), lldb_private::formatters::Char32StringSummaryProvider(), lldb_private::formatters::Char32SummaryProvider(), lldb_private::process_gdb_remote::GDBRemoteCommunication::CheckForPacket(), chown_file(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CloseFile(), lldb_private::formatters::CMTimeSummaryProvider(), lldb_private::CommandAlias::CommandAlias(), CommandObjectFormatterInfo< FormatterType >::CommandObjectFormatterInfo(), CommandObjectPythonFunction::CommandObjectPythonFunction(), CommandObjectScriptingObject::CommandObjectScriptingObject(), lldb_private::ProcessLaunchInfo::ConvertArgumentsForLaunchingInShell(), lldb_private::RenderScriptRuntime::CreateExceptionResolver(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse_DebugServerStyle(), lldb_private::formatters::CXXFunctionPointerSummaryProvider(), lldb_private::OptionValueDictionary::DeepCopy(), lldb_private::FormatManager::DisableAllCategories(), lldb_private::SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile(), lldb_private::DynamicCheckerFunctions::DoCheckersExplainStop(), lldb_private::CommandObjectQuit::DoExecute(), lldb_private::CommandObjectRegexCommand::DoExecute(), lldb_private::CommandObjectHelp::DoExecute(), CommandObjectRenderScriptScriptGroupList::DoExecute(), CommandObjectRegisterRead::DoExecute(), CommandObjectPlatformList::DoExecute(), CommandObjectPlatformDisconnect::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectObjC_ClassTable_Dump::DoExecute(), CommandObjectWatchpointCommandList::DoExecute(), CommandObjectTargetDelete::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectBreakpointSet::DoExecute(), CommandObjectMultiwordObjC_TaggedPointer_Info::DoExecute(), CommandObjectProcessMinidumpDump::DoExecute(), CommandObjectWatchpointSetVariable::DoExecute(), CommandObjectPlatformGetFile::DoExecute(), CommandObjectTargetVariable::DoExecute(), CommandObjectPlatformGetSize::DoExecute(), CommandObjectFrameRecognizerList::DoExecute(), CommandObjectWatchpointSetExpression::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), CommandObjectTypeFormatterList< TypeFilterImpl >::DoExecute(), CommandObjectTargetModulesSearchPathsQuery::DoExecute(), CommandObjectMemoryWrite::DoExecute(), CommandObjectPlatformProcessInfo::DoExecute(), CommandObjectBreakpointClear::DoExecute(), CommandObjectPlatformShell::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesDumpSections::DoExecute(), CommandObjectTypeCategoryList::DoExecute(), CommandObjectTargetModulesDumpClangAST::DoExecute(), CommandObjectTargetModulesDumpSymfile::DoExecute(), CommandObjectTypeLookup::DoExecute(), CommandObjectTargetModulesList::DoExecute(), CommandObjectTargetModulesShowUnwind::DoExecute(), CommandObjectRenderScriptRuntimeKernelCoordinate::DoExecute(), CommandObjectRenderScriptRuntimeAllocationDump::DoExecute(), CommandObjectProcessGDBRemotePacketSend::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), lldb_private::ProcessWindows::DoLaunch(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoResume(), lldb_private::StopInfoUnixSignal::DoShouldNotify(), lldb_private::ThreadPlanStepOverRange::DoWillResume(), lldb_private::platform_android::PlatformAndroid::DownloadSymbolFile(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), DWARFCompileUnit::Dump(), NameToDIE::Dump(), lldb_private::BreakpointLocationList::Dump(), lldb_private::Variable::Dump(), lldb_private::BreakpointList::Dump(), lldb_private::CommandHistory::Dump(), lldb_private::PathMappingList::Dump(), lldb_private::SymbolVendor::Dump(), lldb_private::ManualDWARFIndex::Dump(), lldb_private::FileAction::Dump(), lldb_private::BreakpointSiteList::Dump(), lldb_private::Symbol::Dump(), lldb_private::Symtab::Dump(), ObjectContainerUniversalMachO::Dump(), lldb_private::StackID::Dump(), lldb_private::SectionLoadList::Dump(), DynamicRegisterInfo::Dump(), lldb_private::process_darwin::NativeThreadDarwin::Dump(), lldb_private::LineEntry::Dump(), ObjectContainerBSDArchive::Dump(), ObjectFileJIT::Dump(), lldb_private::SectionLoadHistory::Dump(), lldb_private::process_gdb_remote::GDBRemoteCommunicationHistory::Dump(), lldb_private::SectionList::Dump(), DWARFFormValue::Dump(), lldb_private::StackFrameList::Dump(), MappedHash::Header< Prologue >::Dump(), ObjectFileMachO::Dump(), lldb_private::process_darwin::MachException::Message::Dump(), lldb_private::BreakpointSite::Dump(), ObjectFilePECOFF::Dump(), lldb_private::Type::Dump(), lldb_private::ClangASTMetadata::Dump(), ObjectFileELF::Dump(), lldb_private::Declaration::Dump(), lldb_private::Section::Dump(), lldb_private::ProcessInstanceInfo::Dump(), lldb_private::Block::Dump(), lldb_private::FormatEntity::Entry::Dump(), lldb_private::lldb_renderscript::RSGlobalDescriptor::Dump(), DWARFDebugInfoEntry::Dump(), lldb_private::CompileUnit::Dump(), lldb_private::lldb_renderscript::RSReductionDescriptor::Dump(), lldb_private::UnwindPlan::Row::RegisterLocation::Dump(), lldb_private::ModuleSpec::Dump(), lldb_private::BreakpointLocation::Dump(), lldb_private::Event::Dump(), lldb_private::AddressRange::Dump(), lldb_private::Opcode::Dump(), lldb_private::Value::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Address::Dump(), lldb_private::Module::Dump(), elf::ELFSymbol::Dump(), sddarwinlog_private::RegexFilterRule::Dump(), lldb_private::UnwindPlan::Row::FAValue::Dump(), lldb_private::StructuredData::Integer::Dump(), lldb_private::StructuredData::Float::Dump(), lldb_private::StackFrame::Dump(), lldb_private::EmulateInstruction::Context::Dump(), sddarwinlog_private::ExactMatchFilterRule::Dump(), lldb_private::StructuredData::String::Dump(), lldb_private::UnwindPlan::Row::Dump(), lldb_private::UnwindPlan::Dump(), lldb_private::ModuleSpecList::Dump(), lldb_private::Process::ProcessEventData::Dump(), lldb_private::Function::Dump(), DumpAddress(), DumpAddressOffsetFromFunction(), lldb_private::RenderScriptRuntime::DumpAllocation(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), DWARFDebugInfoEntry::DumpAttribute(), DumpBasename(), lldb_private::Timer::DumpCategoryTimes(), ObjectFilePECOFF::DumpCOFFHeader(), DumpCommaSeparatedChildEntryNames(), lldb_private::RenderScriptRuntime::DumpContexts(), lldb_private::DumpDataExtractor(), lldb_private::AddressRange::DumpDebug(), lldb_private::ConstString::DumpDebug(), ObjectFilePECOFF::DumpDependentModules(), lldb_private::Property::DumpDescription(), DumpDirectory(), ObjectFilePECOFF::DumpDOSHeader(), DumpFullpath(), CommandObjectTargetVariable::DumpGlobalVariableList(), lldb_private::RenderScriptRuntime::DumpKernels(), lldb_private::DWARFExpression::DumpLocation(), DumpModuleArchitecture(), DumpModuleObjfileHeaders(), lldb_private::RenderScriptRuntime::DumpModules(), DumpModuleSections(), lldb_private::Section::DumpName(), ObjectFilePECOFF::DumpOptCOFFHeader(), CommunicationKDP::DumpPacket(), lldb_private::ValueObject::DumpPrintableRepresentation(), lldb_private::ThreadPlanStepRange::DumpRanges(), DumpRegisterName(), CommandObjectRegisterRead::DumpRegisterSet(), lldb_private::DumpRegisterValue(), ObjectFilePECOFF::DumpSectionHeader(), ObjectFilePECOFF::DumpSectionHeaders(), lldb_private::Watchpoint::DumpSnapshots(), lldb_private::RenderScriptRuntime::DumpStatus(), lldb_private::LineEntry::DumpStopContext(), lldb_private::Declaration::DumpStopContext(), lldb_private::SymbolContext::DumpStopContext(), lldb_private::CompileUnit::DumpSymbolContext(), lldb_private::Block::DumpSymbolContext(), lldb_private::Symbol::DumpSymbolContext(), lldb_private::Module::DumpSymbolContext(), lldb_private::Function::DumpSymbolContext(), lldb_private::ProcessInstanceInfo::DumpTableHeader(), DumpTargetInfo(), lldb_private::Thread::DumpThreadPlans(), EntityPersistentVariable::DumpToLog(), EntityVariable::DumpToLog(), EntityResultVariable::DumpToLog(), EntitySymbol::DumpToLog(), EntityRegister::DumpToLog(), lldb_private::ArchSpec::DumpTriple(), lldb_private::ClangASTContext::DumpTypeValue(), DumpUTFBufferToStream(), lldb_private::OptionValueFormatEntity::DumpValue(), lldb_private::OptionValuePathMappings::DumpValue(), lldb_private::OptionValueRegex::DumpValue(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueUUID::DumpValue(), lldb_private::OptionValueBoolean::DumpValue(), lldb_private::OptionValueChar::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueFormat::DumpValue(), lldb_private::OptionValueFileSpecList::DumpValue(), lldb_private::OptionValueFileSpec::DumpValue(), lldb_private::OptionValueLanguage::DumpValue(), lldb_private::OptionValueArch::DumpValue(), lldb_private::OptionValueEnumeration::DumpValue(), lldb_private::OptionValueUInt64::DumpValue(), lldb_private::OptionValueSInt64::DumpValue(), lldb_private::OptionValueString::DumpValue(), lldb_private::Type::DumpValue(), DumpValue(), lldb_private::ClangASTContext::DumpValue(), lldb_private::WatchpointList::DumpWithLevel(), lldb_private::Watchpoint::DumpWithLevel(), lldb_private::ScriptInterpreterPythonImpl::EnterSession(), lldb_private::DWARFExpression::Evaluate(), lldb_private::CommandObjectExpression::EvaluateExpression(), ExciseGuardStore(), lldb_private::SymbolContext::FindBestGlobalDataSymbol(), lldb_private::ClangASTSource::FindObjCMethodDecls(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::FindProcesses(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::FormatEntity::Format(), FormatHelpTextCallback(), CommandObjectTypeSummaryList::FormatterSpecificList(), FormatThreadExtendedInfoRecurse(), lldb_private::CommandObjectHelp::GenerateAdditionalHelpAvenuesMessage(), lldb_private::ScriptInterpreterPythonImpl::GenerateBreakpointCommandCallbackData(), lldb_private::ScriptInterpreterPythonImpl::GenerateFunction(), lldb_private::Options::GenerateOptionUsage(), lldb_private::ScriptInterpreterPythonImpl::GenerateScriptAliasFunction(), lldb_private::ScriptInterpreterPythonImpl::GenerateTypeScriptFunction(), lldb_private::ScriptInterpreterPythonImpl::GenerateTypeSynthClass(), GenerateUniqueName(), lldb_private::ScriptInterpreterPythonImpl::GenerateWatchpointCommandCallbackData(), lldb_private::CommandAlias::GetAliasExpansion(), lldb_private::OptionValueDictionary::GetArgs(), lldb_private::CommandObject::GetArgumentHelp(), lldb_private::BreakpointID::GetCanonicalReference(), lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::LibcxxInitializerListSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::LibcxxVectorBoolSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::NSSetISyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::NSArrayMSyntheticFrontEndBase::GetChildAtIndex(), lldb_private::formatters::GenericNSSetMSyntheticFrontEnd< D32, D64 >::GetChildAtIndex(), lldb_private::formatters::NSDictionaryISyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::GetChildAtIndex(), lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::VectorTypeSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::Foundation1100::NSDictionaryMSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::GenericNSArrayISyntheticFrontEnd< D32, D64, Inline >::GetChildAtIndex(), PlatformAppleSimulator::GetCoreSimulatorPath(), lldb_private::Language::GetDefaultExceptionResolverDescription(), lldb_private::ThreadPlanStepUntil::GetDescription(), lldb_private::ThreadPlanStepThrough::GetDescription(), lldb_private::ThreadPlanStepOverBreakpoint::GetDescription(), lldb_private::ThreadPlanStepInstruction::GetDescription(), lldb_private::ThreadPlanBase::GetDescription(), lldb_private::ThreadPlanStepOut::GetDescription(), lldb_private::ThreadPlanStepOverRange::GetDescription(), lldb::SBFileSpecList::GetDescription(), lldb_private::ThreadPlanCallUserExpression::GetDescription(), lldb_private::AppleThreadPlanStepThroughObjCTrampoline::GetDescription(), lldb_private::ThreadPlanRunToAddress::GetDescription(), lldb_private::StopInfoMachException::GetDescription(), lldb_private::ThreadPlanCallOnFunctionExit::GetDescription(), lldb_private::ThreadPlanPython::GetDescription(), lldb_private::ThreadPlanCallFunction::GetDescription(), lldb_private::ThreadPlanStepInRange::GetDescription(), lldb::SBTypeEnumMember::GetDescription(), lldb_private::ThreadPlanCallFunctionUsingABI::GetDescription(), lldb_private::BreakpointResolverFileLine::GetDescription(), lldb::SBTypeMember::GetDescription(), lldb_private::BreakpointResolverFileRegex::GetDescription(), lldb_private::BreakpointID::GetDescription(), lldb_private::BreakpointResolverScripted::GetDescription(), lldb::SBDeclaration::GetDescription(), lldb_private::AddressResolverFileLine::GetDescription(), lldb_private::FileLineResolver::GetDescription(), lldb::SBLineEntry::GetDescription(), lldb_private::AddressResolverName::GetDescription(), lldb_private::lldb_renderscript::RSBreakpointResolver::GetDescription(), lldb::SBCommandReturnObject::GetDescription(), lldb_private::BreakpointResolverName::GetDescription(), lldb_private::LineEntry::GetDescription(), lldb::SBBlock::GetDescription(), lldb::SBMemoryRegionInfo::GetDescription(), lldb::SBSection::GetDescription(), lldb_private::BreakpointOptions::CommandBaton::GetDescription(), lldb_private::BreakpointName::Permissions::GetDescription(), lldb_private::ThreadSpec::GetDescription(), lldb_private::lldb_renderscript::RSReduceBreakpointResolver::GetDescription(), lldb_private::Type::GetDescription(), ExceptionBreakpointResolver::GetDescription(), lldb_private::Symbol::GetDescription(), lldb_private::BreakpointLocationList::GetDescription(), lldb_private::Block::GetDescription(), lldb_private::BreakpointSite::GetDescription(), lldb_private::WatchpointList::GetDescription(), lldb_private::TypeFormatImpl_Format::GetDescription(), lldb_private::WatchpointOptions::CommandBaton::GetDescription(), lldb_private::StopInfoBreakpoint::GetDescription(), lldb_private::TypeValidatorImpl_CXX::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::BreakpointName::GetDescription(), lldb_private::TypeFormatImpl_EnumType::GetDescription(), lldb::SBProcess::GetDescription(), lldb::SBDebugger::GetDescription(), lldb_private::Module::GetDescription(), lldb_private::SymbolContext::GetDescription(), lldb_private::lldb_renderscript::RSScriptGroupBreakpointResolver::GetDescription(), lldb_private::StringSummaryFormat::GetDescription(), lldb_private::TypeImpl::GetDescription(), lldb_private::TypeFilterImpl::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::CXXSyntheticChildren::GetDescription(), lldb_private::TypeCategoryImpl::GetDescription(), lldb_private::SymbolContextSpecifier::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), lldb_private::ScriptedSyntheticChildren::GetDescription(), lldb_private::SearchFilterByModuleList::GetDescription(), lldb_private::Breakpoint::GetDescription(), lldb_private::SearchFilterByModuleListAndCU::GetDescription(), lldb_private::TypeMemberFunctionImpl::GetDescription(), lldb_private::Thread::GetDescription(), lldb_private::StopInfoWatchpoint::GetDescription(), lldb_private::StopInfoUnixSignal::GetDescription(), lldb_private::Target::StopHook::GetDescription(), lldb_private::ScriptInterpreterPythonImpl::GetDocumentationForItem(), lldb_private::ValueObjectRegister::GetExpressionPath(), lldb_private::ValueObject::GetExpressionPath(), PlatformPOSIX::GetFile(), lldb_private::CommandObject::GetFormattedCommandArguments(), lldb_private::StackFrameList::GetFramesUpTo(), PlatformDarwin::GetFullNameForDylib(), lldb_private::PlatformWindows::GetFullNameForDylib(), PlatformPOSIX::GetFullNameForDylib(), lldb_private::ObjCLanguage::MethodName::GetFullNames(), lldb_private::ObjCLanguage::MethodName::GetFullNameWithoutCategory(), CommandObjectTypeLookup::GetHelpLong(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::GetIndexAtIndex(), GetItaniumDemangledStr(), lldb_private::RenderScriptRuntime::GetKernelCoordinate(), lldb_private::ValueObject::GetLocationAsCStringImpl(), lldb_private::Module::GetMemoryObjectFile(), GetModuleSpecInfoFromUUIDDictionary(), lldb_private::ObjectFile::GetNextSyntheticSymbolName(), UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly(), lldb_private::AppleObjCRuntime::GetObjectDescription(), PlatformPOSIX::GetPlatformSpecificConnectionInformation(), UnwindAssemblyInstEmulation::GetPluginDescriptionStatic(), PlatformMacOSX::GetSDKDirectory(), PlatformDarwin::GetSDKDirectoryForModules(), PlatformRemoteDarwinDevice::GetStatus(), PlatformAppleSimulator::GetStatus(), lldb_private::platform_freebsd::PlatformFreeBSD::GetStatus(), lldb_private::platform_linux::PlatformLinux::GetStatus(), lldb_private::platform_netbsd::PlatformNetBSD::GetStatus(), lldb_private::platform_openbsd::PlatformOpenBSD::GetStatus(), PlatformAppleWatchSimulator::GetStatus(), PlatformAppleTVSimulator::GetStatus(), PlatformiOSSimulator::GetStatus(), lldb_private::Platform::GetStatus(), lldb_private::Thread::GetStatus(), lldb_private::Process::GetStatus(), lldb_private::process_darwin::MachException::Data::GetStopInfo(), CommandObjectSourceInfo::GetSymbolContextsForAddress(), lldb_private::ClangExpressionSourceCode::GetText(), lldb_private::JSONParser::GetToken(), lldb_private::UnwindTable::GetUncachedFuncUnwindersContainingAddress(), lldb_private::Scalar::GetValue(), GetValueOfCompressedPair(), GetWrittenBytes(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceStart(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qC(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qC(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qfThreadInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qHostInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qLaunchGDBServer(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qPlatform_chmod(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qPlatform_mkdir(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qRegisterInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_QSaveRegisterState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qSpeedTest(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qWatchpointSupportInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_vCont_actions(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_Close(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_Mode(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_Open(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_pRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_pWrite(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_symlink(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_unlink(), lldb_private::Process::HandleProcessStateChangedEvent(), curses::HelpDialogDelegate::HelpDialogDelegate(), Indent(), lldb_private::CommandInterpreter::Initialize(), lldb_private::IOHandlerConfirm::IOHandlerConfirm(), IsObjCClassReference(), IsObjCSelectorRef(), lldb_private::ScriptInterpreterPythonImpl::IsReservedWord(), lldb_private::Thread::JumpToLine(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::KillSpawnedProcess(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::LaunchGDBServer(), lldb_private::darwin_process_launcher::LaunchInferior(), LaunchInNewTerminalWithAppleScript(), lldb_private::formatters::LibCxxAtomicSummaryProvider(), lldb_private::formatters::LibcxxContainerSummaryProvider(), lldb_private::formatters::LibcxxFunctionSummaryProvider(), lldb_private::formatters::LibcxxOptionalSummaryProvider(), lldb_private::formatters::LibcxxSmartPointerSummaryProvider(), LibcxxStringSummaryProvider(), lldb_private::formatters::LibcxxVariantSummaryProvider(), lldb_private::formatters::LibcxxWStringSummaryProvider(), lldb_private::formatters::LibStdcppSmartPointerSummaryProvider(), lldb_private::formatters::LibStdcppStringSummaryProvider(), lldb_private::formatters::LibStdcppWStringSummaryProvider(), lldb_private::RenderScriptRuntime::ListAllocations(), lldb_private::RenderScriptRuntime::LoadAllocation(), DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule(), lldb_private::ScriptInterpreterPythonImpl::LoadScriptingModule(), lldb_private::Module::LoadScriptingResourceInTarget(), EmulationStateARM::LoadStateFromDictionary(), PlatformDarwin::LocateExecutableScriptingResources(), lldb_private::ThreadPlanTracer::Log(), lldb_private::ThreadPlanAssemblyTracer::Log(), lldb_private::StringList::LogDump(), LookupFileAndLineInModule(), LookupFunctionInModule(), LookupSymbolInModule(), LookupTypeHere(), LookupTypeInModule(), MakeSpeedTestPacket(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::MakeUrl(), ApplicationDelegate::MenuDelegateAction(), lldb_private::formatters::NSArraySummaryProvider(), lldb_private::formatters::NSBundleSummaryProvider(), lldb_private::formatters::NSDataSummaryProvider(), lldb_private::formatters::NSDateSummaryProvider(), lldb_private::formatters::NSDecimalNumberSummaryProvider(), lldb_private::formatters::NSDictionarySummaryProvider(), lldb_private::formatters::NSError_SummaryProvider(), lldb_private::formatters::NSException_SummaryProvider(), lldb_private::formatters::NSIndexSetSummaryProvider(), lldb_private::formatters::NSMachPortSummaryProvider(), lldb_private::formatters::NSNotificationSummaryProvider(), NSNumber_FormatChar(), NSNumber_FormatDouble(), NSNumber_FormatFloat(), NSNumber_FormatInt(), NSNumber_FormatLong(), NSNumber_FormatShort(), lldb_private::formatters::NSSetSummaryProvider(), lldb_private::formatters::NSStringSummaryProvider(), lldb_private::formatters::NSTaggedString_SummaryProvider(), lldb_private::formatters::NSTimeZoneSummaryProvider(), lldb_private::formatters::ObjCBOOLSummaryProvider(), lldb_private::formatters::ObjCClassSummaryProvider(), lldb_private::formatters::ObjCSELSummaryProvider(), Offset(), lldb_private::operator<<(), operator<<(), lldb_private::CommandInterpreter::OutputFormattedHelpText(), lldb_private::CommandInterpreter::OutputHelpText(), lldb_private::Options::ParseAlias(), DWARFASTParserClang::ParseChildEnumerators(), DWARFASTParserClang::ParseChildMembers(), ParseEntry(), lldb_private::Disassembler::ParseInstructions(), DynamicLoaderDarwinKernel::ParseKextSummaries(), InstructionLLVMC::ParseOperands(), CommandObjectRenderScriptRuntimeReductionBreakpointSet::CommandOptions::ParseReductionTypes(), lldb_private::darwin_process_launcher::PosixSpawnChildForPTraceDebugging(), ABISysV_arm64::PrepareTrivialCall(), ABISysV_x86_64::PrepareTrivialCall(), ABISysV_s390x::PrepareTrivialCall(), ABISysV_ppc::PrepareTrivialCall(), ABISysV_mips::PrepareTrivialCall(), ABISysV_mips64::PrepareTrivialCall(), ABISysV_ppc64::PrepareTrivialCall(), ABIMacOSX_arm64::PrepareTrivialCall(), print_dwarf_exp_op(), lldb_private::Language::PrintAllLanguages(), InterpreterStackFrame::PrintData(), lldb_private::ValueObjectPrinter::PrintDecl(), CommandObjectTargetModulesList::PrintModule(), PrintOption(), PrintPlanElement(), CommandObjectProcessHandle::PrintSignal(), CommandObjectProcessHandle::PrintSignalHeader(), ProcessVmReadvSupported(), PlatformPOSIX::PutFile(), PutSLEB128(), lldb_private::DataExtractor::PutToLog(), PutULEB128(), QuotedCString(), lldb_private::Instruction::ReadArray(), lldb_private::Instruction::ReadDictionary(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadFile(), DynamicLoaderDarwinKernel::ReadKextSummaryHeader(), lldb_private::EmulateInstruction::ReadMemoryDefault(), lldb_private::ValueObject::ReadPointedString(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadRegister(), lldb_private::EmulateInstruction::ReadRegisterDefault(), lldb_private::RenderScriptRuntime::RecomputeAllAllocations(), lldb_private::ClangExpressionDeclMap::ResolveUnknownTypes(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RestoreRegisterState(), lldb_private::IOHandlerPythonInterpreter::Run(), lldb_private::CommandInterpreter::RunCommandInterpreter(), IRForTarget::runOnModule(), RunScriptFormatKeyword(), lldb_private::Process::RunThreadPlan(), lldb_private::RenderScriptRuntime::SaveAllocation(), lldb_private::ScriptInterpreterPythonImpl::ScriptInterpreterPythonImpl(), lldb_private::BreakpointResolverFileLine::SearchCallback(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendArgumentsPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendEnvironmentPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServer::SendErrorResponse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendLaunchArchPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendLaunchEventDataPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunication::SendRawPacketNoLock(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendSpeedTestPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ServeSymbolLookups(), lldb_private::ConnectionFileDescriptor::SetChildProcessesInherit(), lldb_private::process_gdb_remote::ProcessGDBRemote::SetThreadStopInfo(), lldb_private::OptionValueLanguage::SetValueFromString(), lldb_private::OptionValueEnumeration::SetValueFromString(), ShouldLaunchUsingXPC(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), InterpreterStackFrame::SummarizeValue(), lldb_private::platform_android::AdbClient::SwitchDeviceTransport(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SyncThreadState(), lldb_private::EmulateInstructionARM::TestEmulation(), lldb_private::Instruction::TestEmulation(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::TestPacketSpeed(), lldb_private::OptionArgParser::ToFormat(), lldb_private::OptionArgParser::ToOptionEnum(), PlatformPOSIX::UnloadImage(), lldb_private::ThreadPlanRunToAddress::ValidatePlan(), lldb_private::ThreadPlanPython::ValidatePlan(), lldb_private::formatters::VectorTypeSummaryProvider(), lldb_private::lldb_renderscript::RSModuleDescriptor::WarnIfVersionMismatch(), lldb_private::CommandInterpreter::WasInterrupted(), lldb_private::formatters::WCharStringSummaryProvider(), lldb_private::formatters::WCharSummaryProvider(), SourceFileWindowDelegate::WindowDelegateDraw(), lldb_private::JSONString::Write(), lldb_private::JSONNumber::Write(), lldb_private::JSONTrue::Write(), lldb_private::JSONFalse::Write(), lldb_private::JSONNull::Write(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteFile(), lldb_private::EmulateInstruction::WriteMemoryDefault(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteRegister(), lldb_private::EmulateInstruction::WriteRegisterDefault(), lldb_private::AppleObjCTrampolineHandler::~AppleObjCTrampolineHandler(), lldb_private::ClangModulesDeclVendor::~ClangModulesDeclVendor(), IRForTarget::~IRForTarget(), lldb_private::StructuredDataDarwinLog::~StructuredDataDarwinLog(), and lldb_private::TargetList::~TargetList().

◆ PrintfAsRawHex8()

size_t Stream::PrintfAsRawHex8 ( const char *  format,
  ... 
)

Format a C string from a printf style format and variable arguments and encode and append the resulting C string as hex bytes.

Parameters
[in]formatA printf style format string.
[in]...Any additional arguments needed for the printf format string.
Returns
The number of bytes that were appended to the stream.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 244 of file Stream.cpp.

References _PutHex8(), and lldb_private::VASprintf().

Referenced by GetWrittenBytes().

◆ PrintfVarArg()

size_t Stream::PrintfVarArg ( const char *  format,
va_list  args 
)

◆ PutBytesAsRawHex8()

size_t Stream::PutBytesAsRawHex8 ( const void *  src,
size_t  src_len,
lldb::ByteOrder  src_byte_order = lldb::eByteOrderInvalid,
lldb::ByteOrder  dst_byte_order = lldb::eByteOrderInvalid 
)

◆ PutChar()

size_t Stream::PutChar ( char  ch)
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 103 of file Stream.cpp.

References Write().

Referenced by DWARFDebugInfoEntry::AppendTypeName(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ConfigureRemoteStructuredData(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse_DebugServerStyle(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CreateSymlink(), lldb_private::SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoResume(), lldb_private::Variable::Dump(), lldb_private::SymbolVendor::Dump(), lldb_private::process_darwin::NativeThreadListDarwin::Dump(), lldb_private::Symbol::Dump(), lldb_private::Property::Dump(), lldb_private::UnwindPlan::Row::RegisterLocation::Dump(), lldb_private::Event::Dump(), lldb_private::Opcode::Dump(), lldb_private::AddressRange::Dump(), lldb_private::FileSpec::Dump(), lldb_private::Address::Dump(), lldb_private::UnwindPlan::Row::FAValue::Dump(), lldb_private::UnwindPlan::Row::Dump(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), lldb_private::DumpDataExtractor(), lldb_private::Variable::DumpDeclaration(), lldb_private::DWARFExpression::DumpLocation(), lldb_private::Section::DumpName(), lldb_private::OptionValueProperties::DumpPropertyValue(), lldb_private::Property::DumpQualifiedName(), lldb_private::OptionValue::DumpQualifiedName(), lldb_private::DumpRegisterValue(), lldb_private::LineEntry::DumpStopContext(), lldb_private::SymbolContext::DumpStopContext(), lldb_private::ClangASTContext::DumpSummary(), EntityPersistentVariable::DumpToLog(), EntityVariable::DumpToLog(), EntityResultVariable::DumpToLog(), EntitySymbol::DumpToLog(), EntityRegister::DumpToLog(), lldb_private::OptionValueChar::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::Type::DumpValue(), DumpValue(), lldb_private::ClangASTContext::DumpValue(), EOL(), lldb_private::SymbolContext::FindBestGlobalDataSymbol(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::FindProcesses(), lldb_private::FormatEntity::Format(), FormatHelpTextCallback(), lldb_private::Options::GenerateOptionUsage(), lldb_private::ThreadPlanStepOverRange::GetDescription(), lldb_private::StopInfoMachException::GetDescription(), lldb_private::ThreadPlanStepInRange::GetDescription(), lldb_private::DWARFExpression::GetDescription(), lldb_private::BreakpointLocationCollection::GetDescription(), lldb_private::TypeCategoryImpl::GetDescription(), lldb_private::Broadcaster::BroadcasterImpl::GetEventNames(), lldb_private::ValueObject::GetExpressionPath(), lldb_private::ObjCLanguage::MethodName::GetFullNameWithoutCategory(), GetWrittenBytes(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qfThreadInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qHostInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qLaunchGDBServer(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qLaunchSuccess(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qRegisterInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qXfer_auxv_read(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_Close(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_Exists(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_Open(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_pRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_pWrite(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_Size(), lldb_private::Debugger::HandleProcessEvent(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::MakeDirectory(), operator<<(), lldb_private::CommandInterpreter::OutputHelpText(), CommandObjectTargetModulesList::PrintModule(), PrintOption(), PutCString(), lldb_private::StreamGDBRemote::PutEscapedBytes(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadAllRegisters(), ReadCStringFromMemory(), lldb_private::Module::ReportError(), lldb_private::Module::ReportWarning(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RunShellCommand(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendArgumentsPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendONotification(), lldb_private::process_gdb_remote::GDBRemoteCommunication::SendPacketNoLock(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendWResponse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetFilePermissions(), UUIDsMatch(), lldb_private::formatters::VectorTypeSummaryProvider(), lldb_private::JSONObject::Write(), lldb_private::JSONArray::Write(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteAllRegisters(), RegisterContextDarwin_x86_64_Mach::WriteRegister(), RegisterContextDarwin_i386_Mach::WriteRegister(), RegisterContextDarwin_arm_Mach::WriteRegister(), RegisterContextDarwin_arm64_Mach::WriteRegister(), and lldb_private::StructuredDataDarwinLog::~StructuredDataDarwinLog().

◆ PutCString()

size_t Stream::PutCString ( llvm::StringRef  cstr)

Output a C string to the stream.

Print a C string cstr to the stream.

Parameters
[in]cstrThe string to be output to the stream.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 61 of file Stream.cpp.

References eBinary, m_flags, PutChar(), lldb_private::Flags::Test(), and Write().

Referenced by _PutHex8(), PlatformDarwin::AddClangModuleCompilationOptionsForSDKType(), AddressRange(), lldb_private::CommandReturnObject::AppendErrorWithFormat(), DWARFDebugInfoEntry::AppendTypeName(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CalculateMD5(), chown_file(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ConfigureRemoteStructuredData(), lldb_private::ProcessLaunchInfo::ConvertArgumentsForLaunchingInShell(), lldb_private::darwin_process_launcher::CreatePosixSpawnFileAction(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse_DebugServerStyle(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CreateSymlink(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName(), CommandObjectTargetList::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectFrameRecognizerList::DoExecute(), CommandObjectTypeFormatterList< TypeFilterImpl >::DoExecute(), CommandObjectPlatformShell::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), CommandObjectTargetStopHookList::DoExecute(), CommandObjectProcessGDBRemotePacketSend::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoResume(), DWARFDebugRanges::Dump(), lldb_private::Variable::Dump(), lldb_private::SymbolVendor::Dump(), lldb_private::FileAction::Dump(), lldb_private::DebugNamesDWARFIndex::Dump(), lldb_private::Symtab::Dump(), lldb_private::EventData::Dump(), lldb_private::AppleDWARFIndex::Dump(), lldb_private::StackID::Dump(), lldb_private::UUID::Dump(), ObjectFileJIT::Dump(), lldb_private::SectionList::Dump(), DWARFFormValue::Dump(), ObjectFileMachO::Dump(), ObjectFilePECOFF::Dump(), lldb_private::Type::Dump(), ObjectFileELF::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::PythonObject::Dump(), lldb_private::ProcessInstanceInfo::Dump(), DWARFDebugInfoEntry::Dump(), lldb_private::Instruction::Dump(), lldb_private::UnwindPlan::Row::RegisterLocation::Dump(), lldb_private::ModuleSpec::Dump(), lldb_private::Opcode::Dump(), lldb_private::FileSpec::Dump(), lldb_private::Address::Dump(), lldb_private::UnwindPlan::Row::FAValue::Dump(), lldb_private::StructuredData::Boolean::Dump(), lldb_private::ConstString::Dump(), lldb_private::EmulateInstruction::Context::Dump(), lldb_private::UnwindPlan::Dump(), lldb_private::SymbolContextList::Dump(), lldb_private::Process::ProcessEventData::Dump(), lldb_private::Target::Dump(), DumpAddress(), lldb_private::Properties::DumpAllDescriptions(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), DWARFDebugInfoEntry::DumpAttribute(), ObjectFilePECOFF::DumpCOFFHeader(), DumpCommaSeparatedChildEntryNames(), lldb_private::DumpDataExtractor(), ObjectFilePECOFF::DumpDependentModules(), ObjectFilePECOFF::DumpDOSHeader(), DumpDWARFExpr(), lldb_private::DWARFExpression::DumpLocation(), DumpModuleArchitecture(), DumpModuleUUID(), InstructionLLVMC::DumpOperand(), ObjectFilePECOFF::DumpOptCOFFHeader(), CommunicationKDP::DumpPacket(), lldb_private::ValueObject::DumpPrintableRepresentation(), lldb_private::OptionValueProperties::DumpPropertyValue(), CommandObjectRegisterRead::DumpRegister(), DumpRegisterName(), lldb_private::DumpRegisterValue(), ObjectFilePECOFF::DumpSectionHeaders(), lldb_private::SymbolContext::DumpStopContext(), lldb_private::InlineFunctionInfo::DumpStopContext(), lldb_private::ClangASTContext::DumpSummary(), lldb_private::Symbol::DumpSymbolContext(), lldb_private::ProcessInstanceInfo::DumpTableHeader(), DumpTargetInfo(), DumpTargetList(), lldb_private::ClangASTContext::DumpTypeDescription(), lldb_private::ClangASTContext::DumpTypeValue(), lldb_private::StackFrame::DumpUsingSettingsFormat(), lldb_private::OptionValueFormatEntity::DumpValue(), lldb_private::OptionValueRegex::DumpValue(), lldb_private::OptionValueUUID::DumpValue(), lldb_private::OptionValueBoolean::DumpValue(), lldb_private::OptionValueChar::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueFormat::DumpValue(), lldb_private::OptionValueFileSpec::DumpValue(), lldb_private::OptionValueLanguage::DumpValue(), lldb_private::OptionValueArch::DumpValue(), lldb_private::OptionValueEnumeration::DumpValue(), lldb_private::OptionValueUInt64::DumpValue(), lldb_private::OptionValueSInt64::DumpValue(), lldb_private::OptionValueString::DumpValue(), lldb_private::Type::DumpValue(), DumpValue(), CommandObjectTargetVariable::DumpValueObject(), lldb_private::ScriptInterpreterPythonImpl::EnterSession(), lldb_private::CommandObjectExpression::EvaluateExpression(), ExciseGuardStore(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::FindProcesses(), lldb_private::FormatEntity::Format(), Format(), lldb_private::FormatEntity::FormatFileSpec(), lldb_private::CommandObjectMultiword::GenerateHelpText(), lldb_private::Options::GenerateOptionUsage(), lldb_private::ValueObject::GetBaseClassPath(), lldb_private::BreakpointID::GetCanonicalReference(), lldb_private::ThreadPlanStepThrough::GetDescription(), lldb::SBFileSpecList::GetDescription(), lldb_private::StopInfoMachException::GetDescription(), lldb::SBTypeEnumMember::GetDescription(), lldb::SBTypeMember::GetDescription(), lldb_private::BreakpointID::GetDescription(), lldb_private::BreakpointResolverScripted::GetDescription(), lldb::SBDeclaration::GetDescription(), lldb_private::BreakpointResolverAddress::GetDescription(), lldb::SBAddress::GetDescription(), lldb::SBLineEntry::GetDescription(), lldb_private::AddressResolverName::GetDescription(), lldb::SBFileSpec::GetDescription(), lldb::SBSymbolContext::GetDescription(), lldb::SBSymbol::GetDescription(), lldb::SBEvent::GetDescription(), lldb::SBWatchpoint::GetDescription(), lldb::SBCommandReturnObject::GetDescription(), lldb::SBData::GetDescription(), lldb::SBCompileUnit::GetDescription(), lldb::SBBlock::GetDescription(), lldb::SBBreakpointLocation::GetDescription(), lldb::SBSection::GetDescription(), lldb_private::DWARFExpression::GetDescription(), lldb_private::BreakpointOptions::CommandBaton::GetDescription(), lldb_private::ThreadSpec::GetDescription(), lldb_private::Type::GetDescription(), lldb::SBModule::GetDescription(), lldb_private::Symbol::GetDescription(), lldb_private::WatchpointOptions::GetDescription(), lldb_private::WatchpointOptions::CommandBaton::GetDescription(), lldb::SBFrame::GetDescription(), lldb::SBThread::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::BreakpointName::GetDescription(), lldb::SBType::GetDescription(), lldb::SBProcess::GetDescription(), lldb::SBDebugger::GetDescription(), lldb_private::Module::GetDescription(), lldb_private::SymbolContext::GetDescription(), lldb::SBValue::GetDescription(), lldb_private::TypeImpl::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::SearchFilterByModule::GetDescription(), lldb_private::TypeCategoryImpl::GetDescription(), lldb_private::SymbolContextSpecifier::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), lldb_private::SearchFilterByModuleList::GetDescription(), lldb_private::Breakpoint::GetDescription(), lldb_private::SearchFilterByModuleListAndCU::GetDescription(), lldb_private::ThreadPlanNull::GetDescription(), lldb::SBTarget::GetDescription(), lldb_private::Target::StopHook::GetDescription(), lldb_private::Broadcaster::BroadcasterImpl::GetEventNames(), lldb_private::ValueObject::GetExpressionPath(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetFileExists(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetFileLoadAddress(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetFilePermissions(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetFileSize(), lldb_private::StackFrameList::GetFramesUpTo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModulesInfo(), DWARFDebugInfoEntry::GetName(), PlatformPOSIX::GetPlatformSpecificConnectionInformation(), UnwindAssemblyInstEmulation::GetPluginDescriptionStatic(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetpPacketSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetRemoteQSupported(), lldb_private::IRExecutionUnit::GetRunnableInfo(), PlatformRemoteDarwinDevice::GetStatus(), PlatformAppleWatchSimulator::GetStatus(), PlatformAppleTVSimulator::GetStatus(), PlatformiOSSimulator::GetStatus(), lldb::SBThread::GetStatus(), lldb_private::CommandObject::GetSyntax(), lldb_private::Scalar::GetValue(), GetWrittenBytes(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qHostInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qLaunchGDBServer(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qLaunchSuccess(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qPlatform_shell(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qRegisterInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qSpeedTest(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_MD5(), lldb_private::StructuredDataDarwinLog::HandleArrivalOfStructuredData(), lldb_private::Process::HandleProcessStateChangedEvent(), lldb_private::IOHandlerConfirm::IOHandlerConfirm(), lldb_private::StringList::Join(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::LaunchGDBServer(), LaunchInNewTerminalWithAppleScript(), lldb_private::ThreadPlanAssemblyTracer::Log(), lldb_private::Module::LogMessage(), lldb_private::Module::LogMessageVerboseBacktrace(), LookupFileAndLineInModule(), LookupFunctionInModule(), LookupSymbolInModule(), LookupTypeHere(), LookupTypeInModule(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::MakeDirectory(), MakeSpeedTestPacket(), NSNumber_FormatInt128(), lldb_private::formatters::NSURLSummaryProvider(), lldb_private::formatters::ObjCBooleanSummaryProvider(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::OpenFile(), lldb_private::CommandInterpreter::OutputFormattedHelpText(), lldb_private::Disassembler::ParseInstructions(), InstructionLLVMC::ParseOperands(), CommandObjectRenderScriptRuntimeReductionBreakpointSet::CommandOptions::ParseReductionTypes(), ABISysV_mips::PrepareTrivialCall(), ABISysV_s390x::PrepareTrivialCall(), ABISysV_mips64::PrepareTrivialCall(), ABISysV_arm64::PrepareTrivialCall(), ABISysV_ppc64::PrepareTrivialCall(), ABISysV_ppc::PrepareTrivialCall(), ABISysV_x86_64::PrepareTrivialCall(), ABIMacOSX_arm64::PrepareTrivialCall(), lldb_private::ValueObjectPrinter::PrintDecl(), lldb_private::DWARFExpression::PrintDWARFExpression(), lldb_private::DWARFExpression::PrintDWARFLocationList(), CommandObjectTargetModulesList::PrintModule(), PrintOption(), lldb_private::Module::ReportError(), lldb_private::Module::ReportErrorIfModifyDetected(), lldb_private::Module::ReportWarning(), PlatformRemoteDarwinDevice::ResolveExecutable(), lldb_private::PlatformWindows::ResolveExecutable(), PlatformPOSIX::ResolveExecutable(), PlatformAppleTVSimulator::ResolveExecutable(), PlatformAppleWatchSimulator::ResolveExecutable(), PlatformiOSSimulator::ResolveExecutable(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ResolveExecutable(), lldb_private::CommandInterpreter::RunCommandInterpreter(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RunShellCommand(), lldb_private::Process::RunThreadPlan(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SaveRegisterState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendEnvironmentPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetDataPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetMetaDataPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceConfigPacket(), CommunicationKDP::SendRequestConnect(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendSpeedTestPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStartTracePacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStdinNotification(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStopTracePacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ServeSymbolLookups(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetFilePermissions(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDERR(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDIN(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDOUT(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetWorkingDir(), lldb_private::ThreadPlanStepInstruction::ShouldStop(), lldb_private::OptionArgParser::ToFormat(), lldb_private::OptionArgParser::ToOptionEnum(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::Unlink(), UUIDsMatch(), lldb_private::ThreadPlanStepThrough::ValidatePlan(), lldb_private::ThreadPlanStepUntil::ValidatePlan(), lldb_private::ThreadPlanStepOut::ValidatePlan(), lldb_private::ThreadPlanStepRange::ValidatePlan(), lldb_private::ThreadPlanCallFunction::ValidatePlan(), lldb_private::lldb_renderscript::RSModuleDescriptor::WarnIfVersionMismatch(), lldb_private::EmulateInstruction::WriteRegisterDefault(), lldb_private::ClangModulesDeclVendor::~ClangModulesDeclVendor(), lldb_private::StructuredDataDarwinLog::~StructuredDataDarwinLog(), and lldb_private::TargetList::~TargetList().

◆ PutDouble()

size_t Stream::PutDouble ( double  d,
lldb::ByteOrder  byte_order = lldb::eByteOrderInvalid 
)

◆ PutFloat()

size_t Stream::PutFloat ( float  f,
lldb::ByteOrder  byte_order = lldb::eByteOrderInvalid 
)

◆ PutHex16()

size_t Stream::PutHex16 ( uint16_t  uvalue,
lldb::ByteOrder  byte_order = lldb::eByteOrderInvalid 
)

◆ PutHex32()

size_t Stream::PutHex32 ( uint32_t  uvalue,
lldb::ByteOrder  byte_order = lldb::eByteOrderInvalid 
)

◆ PutHex64()

size_t Stream::PutHex64 ( uint64_t  uvalue,
lldb::ByteOrder  byte_order = lldb::eByteOrderInvalid 
)

◆ PutHex8()

size_t Stream::PutHex8 ( uint8_t  uvalue)

◆ PutLongDouble()

size_t Stream::PutLongDouble ( long double  ld,
lldb::ByteOrder  byte_order = lldb::eByteOrderInvalid 
)

◆ PutMaxHex64()

size_t Stream::PutMaxHex64 ( uint64_t  uvalue,
size_t  byte_size,
lldb::ByteOrder  byte_order = lldb::eByteOrderInvalid 
)

◆ PutNHex8()

size_t Stream::PutNHex8 ( size_t  n,
uint8_t  uvalue 
)
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 260 of file Stream.cpp.

References _PutHex8().

Referenced by GetWrittenBytes().

◆ PutPointer()

size_t Stream::PutPointer ( void *  ptr)

◆ PutRawBytes()

size_t Stream::PutRawBytes ( const void *  s,
size_t  src_len,
lldb::ByteOrder  src_byte_order = lldb::eByteOrderInvalid,
lldb::ByteOrder  dst_byte_order = lldb::eByteOrderInvalid 
)

◆ PutSLEB128()

size_t Stream::PutSLEB128 ( int64_t  uval)

Output a SLEB128 number to the stream.

Put an SLEB128 uval out to the stream using the printf format in format.

Parameters
[in]uvalA uint64_t value that was extracted as a SLEB128 value.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 45 of file Stream.cpp.

References eBinary, m_flags, m_forwarder, Printf(), and lldb_private::Flags::Test().

Referenced by ConvertPDBLocationToDWARFExpression(), DWARFFormValue::Dump(), Format(), MakeRegisterBasedLocationExpressionInternal(), and lldb_private::npdb::MakeVFrameRelLocationExpression().

◆ PutStringAsRawHex8()

size_t Stream::PutStringAsRawHex8 ( llvm::StringRef  s)
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 432 of file Stream.cpp.

References _PutHex8(), lldb_private::Flags::Clear(), eBinary, m_flags, lldb_private::Flags::Set(), and lldb_private::Flags::Test().

Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse_DebugServerStyle(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CreateSymlink(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetFileLoadAddress(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetFilePermissions(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), GetWrittenBytes(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qGetWorkingDir(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qGroupName(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qHostInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qLaunchGDBServer(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qUserName(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::MakeDirectory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RunShellCommand(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServer::SendErrorResponse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetFilePermissions(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDERR(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDIN(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDOUT(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetWorkingDir(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::Unlink().

◆ PutULEB128()

size_t Stream::PutULEB128 ( uint64_t  uval)

Output a ULEB128 number to the stream.

Put an ULEB128 uval out to the stream using the printf format in format.

Parameters
[in]uvalA uint64_t value that was extracted as a ULEB128 value.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 53 of file Stream.cpp.

References eBinary, m_flags, m_forwarder, Printf(), and lldb_private::Flags::Test().

Referenced by ConvertPDBLocationToDWARFExpression(), DWARFFormValue::Dump(), Format(), and MakeRegisterBasedLocationExpressionInternal().

◆ QuotedCString()

void Stream::QuotedCString ( const char *  cstr,
const char *  format = "\"%s\"" 
)

Output a quoted C string value to the stream.

Print a double quoted NULL terminated C string to the stream using the printf format in format.

Parameters
[in]cstrA NULL terminated C string value.
[in]formatThe optional C string format that can be overridden.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 73 of file Stream.cpp.

References Printf().

Referenced by DWARFFormValue::Dump(), and Format().

◆ SetAddressByteSize()

void Stream::SetAddressByteSize ( uint32_t  addr_size)

◆ SetByteOrder()

ByteOrder Stream::SetByteOrder ( lldb::ByteOrder  byte_order)

Set the byte_order value.

Sets the byte order of the data to extract. Extracted values will be swapped if necessary when decoding.

Parameters
[in]byte_orderThe byte order value to use when extracting data.
Returns
The old byte order value.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 35 of file Stream.cpp.

References m_byte_order.

Referenced by GetWrittenBytes(), CommunicationKDP::SendRequestConnect(), and CommunicationKDP::SendRequestReattach().

◆ SetIndentLevel()

void Stream::SetIndentLevel ( int  level)

◆ Write()

size_t lldb_private::Stream::Write ( const void *  src,
size_t  src_len 
)
inline

Output character bytes to the stream.

Appends src_len characters from the buffer src to the stream.

Parameters
[in]srcA buffer containing at least src_len bytes of data.
[in]src_lenA number of bytes to append to the stream.
Returns
The number of bytes that were appended to the stream.
Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 100 of file Stream.h.

References m_bytes_written, and WriteImpl().

Referenced by _PutHex8(), lldb::SBTypeSummary::CreateWithCallback(), CommandObjectMemoryRead::DoExecute(), lldb_private::PythonObject::Dump(), lldb_private::Address::Dump(), DumpAPInt(), DumpStringToStreamWithNewline(), lldb_private::ClangASTContext::DumpTypeDescription(), lldb_private::CommandObjectExpression::EvaluateExpression(), lldb_private::FormatEntity::Format(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::Debugger::GetProcessSTDERR(), lldb_private::Debugger::GetProcessSTDOUT(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::MakeUrl(), operator<<(), lldb_private::Options::OutputFormattedUsageText(), lldb_private::IOHandler::PrintAsync(), PrintCompletion(), PrintfVarArg(), PutChar(), PutCString(), ReadThreadBytesReceived(), ObjectFileMachO::SaveCore(), lldb_private::process_gdb_remote::GDBRemoteCommunication::SendPacketNoLock(), CommunicationKDP::SendRequestWriteRegisters(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::CommandInterpreter::WasInterrupted(), lldb_private::StreamTee::WriteImpl(), RegisterContextDarwin_x86_64_Mach::WriteRegister(), RegisterContextDarwin_i386_Mach::WriteRegister(), RegisterContextDarwin_arm_Mach::WriteRegister(), RegisterContextDarwin_arm64_Mach::WriteRegister(), and lldb_private::StructuredDataDarwinLog::~StructuredDataDarwinLog().

◆ WriteImpl()

virtual size_t lldb_private::Stream::WriteImpl ( const void *  src,
size_t  src_len 
)
protectedpure virtual

Output character bytes to the stream.

Appends src_len characters from the buffer src to the stream.

Parameters
[in]srcA buffer containing at least src_len bytes of data.
[in]src_lenA number of bytes to append to the stream.
Returns
The number of bytes that were appended to the stream.

Implemented in lldb_private::StreamTee, lldb_private::StreamFile, lldb_private::StreamString, lldb_private::StreamBuffer< N >, and lldb_private::StreamAsynchronousIO.

Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Referenced by Write().

Member Data Documentation

◆ m_addr_size

uint32_t lldb_private::Stream::m_addr_size
protected

Size of an address in bytes.

Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 477 of file Stream.h.

Referenced by GetAddressByteSize(), operator=(), and SetAddressByteSize().

◆ m_byte_order

lldb::ByteOrder lldb_private::Stream::m_byte_order
protected

◆ m_bytes_written

std::size_t lldb_private::Stream::m_bytes_written = 0
protected

Number of bytes written so far.

Examples:
/opt/doxygen-docs/src/llvm/tools/lldb/include/lldb/Utility/Stream.h.

Definition at line 481 of file Stream.h.

Referenced by lldb_private::StreamString::Clear(), GetWrittenBytes(), and Write().

◆ m_flags

Flags lldb_private::Stream::m_flags
protected

◆ m_forwarder

RawOstreamForward lldb_private::Stream::m_forwarder
protected

◆ m_indent_level

int lldb_private::Stream::m_indent_level
protected

The documentation for this class was generated from the following files: