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

#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
 

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, bool colors=false)
 Construct with flags and address size and byte order. More...
 
 Stream (bool colors=false)
 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)=delete
 
Streamoperator<< (uint16_t uval)=delete
 
Streamoperator<< (uint32_t uval)=delete
 
Streamoperator<< (uint64_t uval)=delete
 
Streamoperator<< (int8_t sval)=delete
 
Streamoperator<< (int16_t sval)=delete
 
Streamoperator<< (int32_t sval)=delete
 
Streamoperator<< (int64_t sval)=delete
 
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
 
unsigned GetIndentLevel () const
 Get the current indentation level. More...
 
size_t Indent (llvm::StringRef s="")
 Indent the current line in the stream. More...
 
void IndentLess (unsigned amount=2)
 Decrement the current indentation level. More...
 
void IndentMore (unsigned 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 (unsigned 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 = 4
 Size of an address in bytes. More...
 
lldb::ByteOrder m_byte_order
 Byte order to use when encoding scalar types. More...
 
unsigned m_indent_level = 0
 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,
bool  colors = false 
)

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.

Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 25 of file Stream.cpp.

◆ Stream() [2/3]

Stream::Stream ( bool  colors = false)

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

Definition at line 30 of file Stream.cpp.

◆ Stream() [3/3]

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

Definition at line 68 of file Stream.h.

◆ ~Stream()

Stream::~Stream ( )
virtualdefault

Member Function Documentation

◆ _PutHex8()

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

◆ AsRawOstream()

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

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

Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 357 of file Stream.h.

References m_forwarder.

Referenced by CommandObjectWatchpointCommandList::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), DWARFDebugRanges::Dump(), lldb_private::Variable::Dump(), DWARFFormValue::Dump(), lldb_private::SectionLoadList::Dump(), lldb_private::ProcessInfo::Dump(), ObjectFileJIT::Dump(), lldb_private::wasm::ObjectFileWasm::Dump(), ObjectFileMachO::Dump(), lldb_private::SymbolContext::Dump(), ObjectFilePECOFF::Dump(), ObjectFileELF::Dump(), lldb_private::Block::Dump(), lldb_private::ProcessInstanceInfo::Dump(), lldb_private::StructuredData::Object::Dump(), lldb_private::ModuleSpec::Dump(), lldb_private::AddressRange::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Address::Dump(), lldb_private::Target::TargetEventData::Dump(), lldb_private::TypeSystemClang::Dump(), lldb_private::Block::DumpAddressRanges(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), lldb_private::DumpDataExtractor(), DumpDWARFExpr(), lldb_private::TypeSystemClang::DumpFromSymbolFile(), DumpFullpath(), lldb_private::DWARFExpression::DumpLocation(), DumpModuleArchitecture(), DumpModuleSections(), lldb_private::LineEntry::DumpStopContext(), DumpTargetInfo(), lldb_private::OptionValueFileSpecList::DumpValue(), error(), lldb_private::FormatEntity::FormatFileSpec(), lldb_private::StructuredDataImpl::GetAsJSON(), lldb_private::WatchpointOptions::GetCallbackDescription(), lldb_private::ThreadPlanStepThrough::GetDescription(), lldb_private::ThreadPlanStepInstruction::GetDescription(), lldb_private::ThreadPlanRunToAddress::GetDescription(), lldb_private::DWARFExpression::GetDescription(), lldb::SBSection::GetDescription(), lldb::SBModule::GetDescription(), lldb_private::Block::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::SymbolContext::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::Function::GetDescription(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModulesInfo(), lldb_private::Platform::GetStatus(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jThreadsInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qQueryGDBServer(), lldb_private::ManualDWARFIndex::Index(), DynamicLoaderMacOSXDYLD::InitializeFromAllImageInfos(), SymbolFileDWARF::InitializeObject(), lldb_private::Module::LoadScriptingResourceInTarget(), lldb_private::Module::LogMessage(), lldb_private::Module::LogMessageVerboseBacktrace(), lldb_private::CommandCompletions::ModuleUUIDs(), lldb_private::operator<<(), lldb_private::Module::ReportError(), lldb_private::Module::ReportErrorIfModifyDetected(), lldb_private::Module::ReportWarning(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb::SBLaunchInfo::SetScriptedProcessDictionary(), lldb_private::ThreadPlanStepInstruction::ShouldStop(), lldb_private::ThreadPlanStepOverRange::ShouldStop(), lldb_private::ThreadPlanStepInRange::ShouldStop(), UUIDsMatch(), and warning().

◆ EOL()

size_t Stream::EOL ( )

Output and End of Line character to the stream.

Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 128 of file Stream.cpp.

References PutChar().

Referenced by AddBreakpointDescription(), AddWatchpointDescription(), lldb_private::SourceManager::File::DisplaySourceLines(), lldb_private::CommandObjectIterateOverThreads::DoExecute(), CommandObjectRenderScriptScriptGroupList::DoExecute(), CommandObjectSettingsShow::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectSourceList::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectFrameRecognizerList::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), CommandObjectBreakpointClear::DoExecute(), CommandObjectPlatformProcessInfo::DoExecute(), CommandObjectBreakpointNameList::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesLookup::DoExecute(), CommandObjectRenderScriptRuntimeKernelCoordinate::DoExecute(), CommandObjectRenderScriptRuntimeAllocationDump::DoExecute(), lldb_private::Variable::Dump(), ObjectContainerUniversalMachO::Dump(), lldb_private::Property::Dump(), lldb_private::UnwindTable::Dump(), DynamicRegisterInfo::Dump(), ObjectContainerBSDArchive::Dump(), lldb_private::SectionLoadHistory::Dump(), ObjectFileJIT::Dump(), lldb_private::StackFrameList::Dump(), lldb_private::Args::Dump(), lldb_private::ClangASTMetadata::Dump(), lldb_private::LineTable::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Type::Dump(), ObjectFilePECOFF::Dump(), ObjectFileELF::Dump(), lldb_private::Block::Dump(), lldb_private::ProcessInstanceInfo::Dump(), lldb_private::lldb_renderscript::RSKernelDescriptor::Dump(), lldb_private::lldb_renderscript::RSGlobalDescriptor::Dump(), lldb_private::FormatEntity::Entry::Dump(), lldb_private::lldb_renderscript::RSReductionDescriptor::Dump(), lldb_private::CompileUnit::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Address::Dump(), lldb_private::InstructionList::Dump(), lldb_private::ModuleSpecList::Dump(), lldb_private::SymbolContextList::Dump(), lldb_private::UnwindPlan::Dump(), lldb_private::Function::Dump(), DumpAddress(), lldb_private::RenderScriptRuntime::DumpAllocation(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), lldb_private::RenderScriptRuntime::DumpContexts(), lldb_private::DumpDataExtractor(), lldb_private::Property::DumpDescription(), ObjectFileELF::DumpELFProgramHeaders(), lldb_private::RenderScriptRuntime::DumpKernels(), DumpModuleObjfileHeaders(), lldb_private::RenderScriptRuntime::DumpModules(), CommandObjectRegisterRead::DumpRegister(), CommandObjectRegisterRead::DumpRegisterSet(), lldb_private::RenderScriptRuntime::DumpStatus(), lldb_private::SymbolContext::DumpStopContext(), DumpStringToStreamWithNewline(), DumpTargetInfo(), lldb_private::Language::ImageListTypeScavenger::Result::DumpToStream(), lldb_private::StackFrame::DumpUsingSettingsFormat(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueProperties::DumpValue(), lldb_private::XMLDocument::ErrorCallback(), lldb_private::RenderScriptRuntime::FindAllocByID(), lldb_private::Options::GenerateOptionUsage(), lldb_private::WatchpointOptions::GetCallbackDescription(), lldb::SBWatchpoint::GetDescription(), lldb::SBInstructionList::GetDescription(), lldb_private::LineEntry::GetDescription(), lldb::SBBreakpointLocation::GetDescription(), lldb_private::LineTable::GetDescription(), lldb_private::WatchpointOptions::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::SymbolContext::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::Breakpoint::GetDescription(), lldb_private::StackFrameList::GetFramesUpTo(), lldb_private::Platform::GetStatus(), lldb_private::ObjCLanguage::GetTypeScavenger(), lldb_private::CommandObjectExpression::IOHandlerInputComplete(), lldb_private::RenderScriptRuntime::ListAllocations(), lldb_private::RenderScriptRuntime::LoadAllocation(), lldb_private::ThreadPlanAssemblyTracer::Log(), LookupTypeHere(), LookupTypeInModule(), lldb_private::Options::OutputFormattedUsageText(), 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::RenderScriptRuntime::SetConditional(), 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
Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 309 of file Stream.h.

References PutCString().

Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::AttachWaitProcess(), IRForTarget::CreateResultVariable(), lldb_private::CommandObjectIterateOverThreads::DoExecute(), CommandObjectTargetShowLaunchEnvironment::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesDumpSections::DoExecute(), CommandObjectTargetModulesDumpClangAST::DoExecute(), CommandObjectTargetModulesDumpSymfile::DoExecute(), NameToDIE::Dump(), lldb_private::Variable::Dump(), lldb_private::ManualDWARFIndex::Dump(), lldb_private::UnwindTable::Dump(), lldb_private::EventDataBytes::Dump(), lldb_private::ProcessInfo::Dump(), lldb_private::Args::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Type::Dump(), lldb_private::ProcessInstanceInfo::Dump(), lldb_private::ModuleSpec::Dump(), lldb_private::SymbolFile::Dump(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), ObjectFileELF::DumpELFProgramHeaders(), CommandObjectTargetVariable::DumpGlobalVariableList(), DumpModuleObjfileHeaders(), lldb_private::ThreadPlanStackMap::DumpPlansForTID(), lldb_private::TypeSystemClang::DumpValue(), FormatThreadExtendedInfoRecurse(), lldb_private::Thread::GetDescription(), lldb_private::Platform::GetStatus(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qHostInfo(), CommandObjectTargetModulesList::PrintModule(), IRForTarget::ReplaceVariables(), IRForTarget::ResolveExternals(), IRForTarget::runOnModule(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendWResponse(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::TestPacketSpeed().

◆ 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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 179 of file Stream.cpp.

References m_addr_size.

Referenced by CommandObjectMemoryWrite::DoExecute(), DWARFDebugRanges::Dump(), lldb_private::DumpDataExtractor(), and lldb_private::CompactUnwindInfo::GetUnwindPlan().

◆ GetByteOrder()

lldb::ByteOrder Stream::GetByteOrder ( ) const

◆ GetFlags() [1/2]

const Flags & Stream::GetFlags ( )

The flags accessor.

Returns
A reference to the Flags member variable.
Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 185 of file Stream.cpp.

References m_flags.

◆ GetFlags() [2/2]

const Flags& lldb_private::Stream::GetFlags ( ) const

The flags const accessor.

Returns
A const reference to the Flags member variable.

◆ GetIndentLevel()

unsigned Stream::GetIndentLevel ( ) const

◆ GetWrittenBytes()

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

◆ Indent()

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

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 string to print following the indentation.
Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 130 of file Stream.cpp.

References m_indent_level, PutCString(), and string().

Referenced by CommandObjectRenderScriptScriptGroupList::DoExecute(), DWARFDebugRanges::Dump(), lldb_private::Variable::Dump(), lldb_private::BreakpointList::Dump(), lldb_private::CommandHistory::Dump(), lldb_private::Symtab::Dump(), ObjectContainerUniversalMachO::Dump(), ObjectContainerBSDArchive::Dump(), ObjectFileJIT::Dump(), lldb_private::wasm::ObjectFileWasm::Dump(), lldb_private::Args::Dump(), lldb_private::AppleObjCTrampolineHandler::AppleObjCVTables::VTableRegion::Dump(), ObjectFileMachO::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Type::Dump(), ObjectFilePECOFF::Dump(), ObjectFileELF::Dump(), lldb_private::Block::Dump(), lldb_private::lldb_renderscript::RSKernelDescriptor::Dump(), lldb_private::lldb_renderscript::RSGlobalDescriptor::Dump(), lldb_private::lldb_renderscript::RSReductionDescriptor::Dump(), lldb_private::CompileUnit::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Module::Dump(), lldb_private::Address::Dump(), lldb_private::SymbolContextList::Dump(), lldb_private::Function::Dump(), lldb_private::Target::Dump(), DumpAddress(), lldb_private::RenderScriptRuntime::DumpKernels(), lldb_private::ThreadPlanStackMap::DumpPlans(), lldb_private::ThreadPlanStackMap::DumpPlansForTID(), CommandObjectRegisterRead::DumpRegister(), CommandObjectRegisterRead::DumpRegisterSet(), lldb_private::RenderScriptRuntime::DumpStatus(), lldb_private::SymbolContext::DumpStopContext(), lldb_private::InlineFunctionInfo::DumpStopContext(), lldb_private::Symtab::DumpSymbolHeader(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueFileSpecList::DumpValue(), lldb_private::Options::GenerateOptionUsage(), lldb_private::ThreadPlanRunToAddress::GetDescription(), lldb_private::BreakpointName::Permissions::GetDescription(), lldb_private::WatchpointOptions::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(), lldb_private::Target::StopHookCommandLine::GetSubclassDescription(), lldb_private::Target::StopHookScripted::GetSubclassDescription(), lldb_private::RenderScriptRuntime::ListAllocations(), lldb_private::StringList::LogDump(), LookupFileAndLineInModule(), LookupFunctionInModule(), LookupSymbolInModule(), LookupTypeHere(), LookupTypeInModule(), lldb_private::Options::OutputFormattedUsageText(), lldb_private::ThreadPlanStack::PrintOneStack(), and PrintPlanElement().

◆ IndentLess()

void Stream::IndentLess ( unsigned  amount = 2)

Decrement the current indentation level.

Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 171 of file Stream.cpp.

References m_indent_level.

Referenced by AddBreakpointDescription(), AddWatchpointDescription(), CommandObjectRenderScriptScriptGroupList::DoExecute(), lldb_private::BreakpointLocationList::Dump(), lldb_private::BreakpointList::Dump(), lldb_private::BreakpointSiteList::Dump(), lldb_private::Symtab::Dump(), ObjectContainerUniversalMachO::Dump(), ObjectContainerBSDArchive::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Block::Dump(), lldb_private::lldb_renderscript::RSReductionDescriptor::Dump(), lldb_private::CompileUnit::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Module::Dump(), lldb_private::SymbolContextList::Dump(), lldb_private::Target::Dump(), DumpAddress(), lldb_private::RenderScriptRuntime::DumpContexts(), lldb_private::RenderScriptRuntime::DumpKernels(), DumpModuleObjfileHeaders(), lldb_private::RenderScriptRuntime::DumpModules(), lldb_private::ThreadPlanStackMap::DumpPlans(), lldb_private::ThreadPlanStackMap::DumpPlansForTID(), CommandObjectRegisterRead::DumpRegisterSet(), DumpSymbolContextList(), lldb_private::ThreadPlanStack::DumpThreadPlans(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueFileSpecList::DumpValue(), lldb_private::WatchpointList::DumpWithLevel(), lldb_private::Options::GenerateOptionUsage(), lldb_private::BreakpointName::Permissions::GetDescription(), lldb_private::WatchpointOptions::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(), lldb_private::RenderScriptRuntime::ListAllocations(), LookupSymbolInModule(), and PrintPlanElement().

◆ IndentMore()

void Stream::IndentMore ( unsigned  amount = 2)

Increment the current indentation level.

Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 168 of file Stream.cpp.

References m_indent_level.

Referenced by AddBreakpointDescription(), AddWatchpointDescription(), CommandObjectRenderScriptScriptGroupList::DoExecute(), lldb_private::BreakpointLocationList::Dump(), lldb_private::BreakpointList::Dump(), lldb_private::BreakpointSiteList::Dump(), lldb_private::Symtab::Dump(), ObjectContainerUniversalMachO::Dump(), ObjectContainerBSDArchive::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Block::Dump(), lldb_private::lldb_renderscript::RSReductionDescriptor::Dump(), lldb_private::CompileUnit::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Module::Dump(), lldb_private::SymbolContextList::Dump(), lldb_private::Target::Dump(), DumpAddress(), lldb_private::RenderScriptRuntime::DumpContexts(), lldb_private::RenderScriptRuntime::DumpKernels(), DumpModuleObjfileHeaders(), lldb_private::RenderScriptRuntime::DumpModules(), lldb_private::ThreadPlanStackMap::DumpPlans(), lldb_private::ThreadPlanStackMap::DumpPlansForTID(), CommandObjectRegisterRead::DumpRegisterSet(), DumpSymbolContextList(), lldb_private::ThreadPlanStack::DumpThreadPlans(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueFileSpecList::DumpValue(), lldb_private::WatchpointList::DumpWithLevel(), lldb_private::Options::GenerateOptionUsage(), lldb_private::BreakpointName::Permissions::GetDescription(), lldb_private::WatchpointOptions::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::BreakpointName::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::Breakpoint::GetDescription(), lldb_private::Thread::GetStatus(), lldb_private::RenderScriptRuntime::ListAllocations(), LookupSymbolInModule(), 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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 44 of file Stream.cpp.

References Printf().

◆ operator<<() [1/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 137 of file Stream.cpp.

References PutChar().

◆ operator<<() [2/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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 143 of file Stream.cpp.

References Printf().

◆ 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 154 of file Stream.cpp.

References Printf().

◆ operator<<() [4/12]

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

◆ operator<<() [5/12]

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

◆ operator<<() [6/12]

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

◆ operator<<() [7/12]

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

◆ operator<<() [8/12]

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

Definition at line 148 of file Stream.cpp.

References Write().

◆ operator<<() [9/12]

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

◆ operator<<() [10/12]

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

◆ operator<<() [11/12]

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

◆ operator<<() [12/12]

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

◆ 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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 107 of file Stream.cpp.

References PrintfVarArg().

Referenced by lldb_private::ClangExpressionSourceCode::AddLocalVariableDecls(), AddMacros(), sddarwinlog_private::EnableCommand::AppendStrictSourcesWarning(), arch_helper(), lldb_private::formatters::BlockPointerSummaryProvider(), lldb_private::AppleObjCTypeEncodingParser::BuildAggregate(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::BuildTargetXml(), InstructionLLVMC::CalculateMnemonicOperandsAndComment(), ThreadMachCore::CalculateStopInfo(), lldb_private::RenderScriptRuntime::CaptureScriptInit(), 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::formatters::Char8StringSummaryProvider(), lldb_private::formatters::Char8SummaryProvider(), lldb_private::process_gdb_remote::GDBRemoteCommunication::CheckForPacket(), chown_file(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CloseFile(), lldb_private::formatters::CMTimeSummaryProvider(), CollectRegNums(), lldb_private::CommandAlias::CommandAlias(), CommandObjectPythonFunction::CommandObjectPythonFunction(), CommandObjectScriptingObject::CommandObjectScriptingObject(), lldb_private::ProcessLaunchInfo::ConvertArgumentsForLaunchingInShell(), lldb_private::Process::CreateBreakpointSite(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse_DebugServerStyle(), IRForTarget::CreateResultVariable(), lldb_private::formatters::CXXFunctionPointerSummaryProvider(), DescribeAddressBriefly(), lldb_private::StopInfoMachException::DeterminePtrauthFailure(), lldb_private::SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile(), lldb_private::CommandObjectQuit::DoExecute(), lldb_private::CommandObjectRegexCommand::DoExecute(), lldb_private::CommandObjectHelp::DoExecute(), CommandObjectRenderScriptScriptGroupList::DoExecute(), CommandObjectRegisterRead::DoExecute(), CommandObjectPlatformList::DoExecute(), CommandObjectPlatformDisconnect::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectBreakpointSet::DoExecute(), CommandObjectTargetDelete::DoExecute(), CommandObjectWatchpointCommandList::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectTargetVariable::DoExecute(), CommandObjectObjC_ClassTable_Dump::DoExecute(), CommandObjectProcessMinidumpDump::DoExecute(), CommandObjectMultiwordObjC_TaggedPointer_Info::DoExecute(), CommandObjectTypeFormatterList< TypeFormatImpl >::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), CommandObjectTargetModulesSearchPathsQuery::DoExecute(), CommandObjectMemoryWrite::DoExecute(), CommandObjectBreakpointClear::DoExecute(), CommandObjectPlatformProcessInfo::DoExecute(), CommandObjectPlatformShell::DoExecute(), CommandObjectTraceDumpInfo::DoExecute(), CommandObjectTargetModulesList::DoExecute(), CommandObjectTargetModulesShowUnwind::DoExecute(), CommandObjectRenderScriptRuntimeKernelCoordinate::DoExecute(), CommandObjectRenderScriptRuntimeAllocationDump::DoExecute(), CommandObjectProcessGDBRemotePacketSend::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), 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(), DWARFTypeUnit::Dump(), lldb_private::BreakpointLocationList::Dump(), lldb_private::BreakpointList::Dump(), lldb_private::Variable::Dump(), lldb_private::CommandHistory::Dump(), lldb_private::PathMappingList::Dump(), lldb_private::process_gdb_remote::GDBRemoteCommunicationHistory::Dump(), lldb_private::Symtab::Dump(), lldb_private::FileAction::Dump(), lldb_private::Symbol::Dump(), lldb_private::BreakpointSiteList::Dump(), ObjectContainerUniversalMachO::Dump(), lldb_private::StackID::Dump(), DWARFFormValue::Dump(), lldb_private::ManualDWARFIndex::Dump(), lldb_private::UnwindTable::Dump(), lldb_private::LineEntry::Dump(), lldb_private::SectionLoadList::Dump(), DynamicRegisterInfo::Dump(), ObjectContainerBSDArchive::Dump(), lldb_private::SectionLoadHistory::Dump(), lldb_private::GDBRemotePacket::Dump(), ObjectFileJIT::Dump(), lldb_private::StackFrameList::Dump(), MappedHash::Header< Prologue >::Dump(), lldb_private::ClangASTMetadata::Dump(), lldb_private::AppleObjCTrampolineHandler::AppleObjCVTables::VTableRegion::Dump(), lldb_private::Declaration::Dump(), ObjectFileMachO::Dump(), lldb_private::Debugger::ProgressEventData::Dump(), lldb_private::BreakpointSite::Dump(), lldb_private::Type::Dump(), ObjectFilePECOFF::Dump(), ObjectFileELF::Dump(), lldb_private::Value::Dump(), lldb_private::Block::Dump(), lldb_private::ProcessInstanceInfo::Dump(), lldb_private::lldb_renderscript::RSGlobalDescriptor::Dump(), lldb_private::ModuleSpec::Dump(), lldb_private::FormatEntity::Entry::Dump(), lldb_private::lldb_renderscript::RSReductionDescriptor::Dump(), lldb_private::UnwindPlan::Row::RegisterLocation::Dump(), lldb_private::CompileUnit::Dump(), lldb_private::AddressRange::Dump(), lldb_private::Opcode::Dump(), lldb_private::BreakpointLocation::Dump(), lldb_private::Event::Dump(), lldb_private::lldb_renderscript::RSModuleDescriptor::Dump(), lldb_private::Module::Dump(), lldb_private::Address::Dump(), elf::ELFSymbol::Dump(), sddarwinlog_private::RegexFilterRule::Dump(), lldb_private::UnwindPlan::Row::FAValue::Dump(), sddarwinlog_private::ExactMatchFilterRule::Dump(), lldb_private::EmulateInstruction::Context::Dump(), lldb_private::StackFrame::Dump(), lldb_private::UnwindPlan::Row::Dump(), lldb_private::ModuleSpecList::Dump(), lldb_private::UnwindPlan::Dump(), lldb_private::Process::ProcessEventData::Dump(), lldb_private::Function::Dump(), DumpAddressAndContent(), DumpAddressOffsetFromFunction(), lldb_private::RenderScriptRuntime::DumpAllocation(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), DumpBasename(), lldb_private::Timer::DumpCategoryTimes(), DumpCharacter(), ObjectFilePECOFF::DumpCOFFHeader(), DumpCommaSeparatedChildEntryNames(), lldb_private::RenderScriptRuntime::DumpContexts(), lldb_private::DumpDataExtractor(), lldb_private::AddressRange::DumpDebug(), lldb_private::ConstString::DumpDebug(), ObjectFilePECOFF::DumpDependentModules(), ObjectFileELF::DumpDependentModules(), lldb_private::Property::DumpDescription(), DumpDirectory(), ObjectFilePECOFF::DumpDOSHeader(), ObjectFileELF::DumpELFHeader(), ObjectFileELF::DumpELFProgramHeader(), ObjectFileELF::DumpELFProgramHeader_p_type(), ObjectFileELF::DumpELFSectionHeader(), ObjectFileELF::DumpELFSectionHeader_sh_type(), ObjectFileELF::DumpELFSectionHeaders(), DumpEncodedBufferToStream(), DumpEnumValue(), DumpFullpath(), CommandObjectTargetVariable::DumpGlobalVariableList(), DumpInstructionDisassembly(), lldb_private::TraceInstructionDumper::DumpInstructions(), DumpInstructions(), DumpInstructionSymbolContext(), lldb_private::RenderScriptRuntime::DumpKernels(), DumpModuleArchitecture(), lldb_private::RenderScriptRuntime::DumpModules(), DumpModuleSections(), ObjectFilePECOFF::DumpOptCOFFHeader(), CommunicationKDP::DumpPacket(), lldb_private::ThreadPlanStackMap::DumpPlans(), lldb_private::ThreadPlanStackMap::DumpPlansForTID(), 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::StructuredDataDarwinLog::DumpTimestamp(), EntityPersistentVariable::DumpToLog(), EntityVariable::DumpToLog(), EntityResultVariable::DumpToLog(), EntitySymbol::DumpToLog(), EntityRegister::DumpToLog(), lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfo(), lldb_private::OptionValueFormatEntity::DumpValue(), lldb_private::OptionValueRegex::DumpValue(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueBoolean::DumpValue(), lldb_private::OptionValueFileColonLine::DumpValue(), lldb_private::OptionValuePathMappings::DumpValue(), lldb_private::OptionValueUUID::DumpValue(), lldb_private::OptionValueChar::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueFormat::DumpValue(), lldb_private::OptionValueFileSpecList::DumpValue(), lldb_private::OptionValueLanguage::DumpValue(), lldb_private::OptionValueFileSpec::DumpValue(), lldb_private::OptionValueSInt64::DumpValue(), lldb_private::OptionValueArch::DumpValue(), lldb_private::OptionValueUInt64::DumpValue(), lldb_private::OptionValueEnumeration::DumpValue(), lldb_private::OptionValueString::DumpValue(), lldb_private::Type::DumpValue(), DumpValue(), lldb_private::TypeSystemClang::DumpValue(), lldb_private::WatchpointList::DumpWithLevel(), lldb_private::Watchpoint::DumpWithLevel(), lldb_private::DWARFExpression::Evaluate(), lldb_private::RenderScriptRuntime::FindAllocByID(), 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(), FormatThreadExtendedInfoRecurse(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::FStat(), lldb_private::CommandObjectHelp::GenerateAdditionalHelpAvenuesMessage(), lldb_private::Options::GenerateOptionUsage(), 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::NSCFSetSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::NSDictionaryISyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::GenericNSSetMSyntheticFrontEnd< D32, D64 >::GetChildAtIndex(), lldb_private::formatters::NSConstantDictionarySyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::NSCFDictionarySyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::VectorTypeSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::GenericNSArrayISyntheticFrontEnd< D32, D64, Inline >::GetChildAtIndex(), lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::GetChildAtIndex(), lldb_private::formatters::Foundation1100::NSDictionaryMSyntheticFrontEnd::GetChildAtIndex(), lldb_private::Language::GetDefaultExceptionResolverDescription(), lldb_private::ThreadPlanStepThrough::GetDescription(), lldb_private::ThreadPlanStepUntil::GetDescription(), lldb_private::ThreadPlanStepOverBreakpoint::GetDescription(), lldb_private::ThreadPlanStepInstruction::GetDescription(), lldb_private::ThreadPlanBase::GetDescription(), lldb_private::ThreadPlanStepOverRange::GetDescription(), lldb::SBFileSpecList::GetDescription(), lldb_private::ThreadPlanStepOut::GetDescription(), lldb_private::ThreadPlanStepInRange::GetDescription(), lldb_private::ThreadPlanCallUserExpression::GetDescription(), lldb_private::ThreadPlanRunToAddress::GetDescription(), lldb_private::AppleThreadPlanStepThroughObjCTrampoline::GetDescription(), lldb_private::ThreadPlanCallOnFunctionExit::GetDescription(), lldb_private::ThreadPlanCallFunction::GetDescription(), lldb_private::StopInfoMachException::GetDescription(), lldb_private::ThreadPlanPython::GetDescription(), lldb::SBTypeEnumMember::GetDescription(), lldb_private::ThreadPlanCallFunctionUsingABI::GetDescription(), lldb_private::AddressResolverFileLine::GetDescription(), lldb_private::BreakpointResolverFileLine::GetDescription(), lldb::SBTypeMember::GetDescription(), lldb_private::BreakpointID::GetDescription(), lldb_private::BreakpointResolverFileRegex::GetDescription(), lldb_private::FileLineResolver::GetDescription(), lldb_private::BreakpointResolverScripted::GetDescription(), lldb::SBDeclaration::GetDescription(), lldb::SBLineEntry::GetDescription(), lldb_private::LineEntry::GetDescription(), lldb_private::lldb_renderscript::RSBreakpointResolver::GetDescription(), lldb_private::BreakpointResolverName::GetDescription(), lldb::SBBlock::GetDescription(), lldb::SBCommandReturnObject::GetDescription(), lldb::SBSection::GetDescription(), lldb_private::AppleThreadPlanStepThroughDirectDispatch::GetDescription(), lldb_private::BreakpointName::Permissions::GetDescription(), lldb_private::ThreadSpec::GetDescription(), lldb::SBMemoryRegionInfo::GetDescription(), lldb_private::lldb_renderscript::RSReduceBreakpointResolver::GetDescription(), lldb_private::Type::GetDescription(), ExceptionBreakpointResolver::GetDescription(), lldb_private::Block::GetDescription(), lldb_private::Symbol::GetDescription(), lldb_private::BreakpointLocationList::GetDescription(), lldb_private::BreakpointSite::GetDescription(), lldb_private::TypeFormatImpl_Format::GetDescription(), lldb_private::WatchpointList::GetDescription(), lldb_private::StopInfoBreakpoint::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::BreakpointName::GetDescription(), lldb_private::TypeFormatImpl_EnumType::GetDescription(), lldb_private::Address::GetDescription(), lldb_private::SymbolContext::GetDescription(), lldb::SBProcess::GetDescription(), lldb_private::lldb_renderscript::RSScriptGroupBreakpointResolver::GetDescription(), lldb::SBDebugger::GetDescription(), lldb_private::StringSummaryFormat::GetDescription(), lldb_private::TypeImpl::GetDescription(), lldb_private::TypeCategoryImpl::GetDescription(), lldb_private::TypeFilterImpl::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::SymbolContextSpecifier::GetDescription(), lldb_private::CXXSyntheticChildren::GetDescription(), lldb_private::SearchFilterByModuleList::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), lldb_private::ScriptedSyntheticChildren::GetDescription(), lldb_private::SearchFilterByModuleListAndCU::GetDescription(), lldb_private::Breakpoint::GetDescription(), lldb_private::TypeMemberFunctionImpl::GetDescription(), lldb_private::Thread::GetDescription(), lldb_private::StopInfoWatchpoint::GetDescription(), lldb_private::StopInfoUnixSignal::GetDescription(), lldb_private::Target::StopHook::GetDescription(), lldb_private::ValueObjectRegister::GetExpressionPath(), lldb_private::ValueObject::GetExpressionPath(), PlatformPOSIX::GetFile(), lldb_private::CommandObject::GetFormattedCommandArguments(), lldb_private::StackFrameList::GetFramesUpTo(), lldb_private::PlatformWindows::GetFullNameForDylib(), PlatformPOSIX::GetFullNameForDylib(), PlatformDarwin::GetFullNameForDylib(), lldb_private::ObjCLanguage::MethodName::GetFullNameWithoutCategory(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::GetIndexAtIndex(), lldb_private::ValueObject::GetLocationAsCStringImpl(), lldb_private::Module::GetMemoryObjectFile(), lldb_private::ObjCLanguage::GetMethodNameVariants(), UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly(), lldb_private::AppleObjCRuntime::GetObjectDescription(), PlatformPOSIX::GetPlatformSpecificConnectionInformation(), lldb_private::FormatManager::GetPossibleMatches(), PlatformMacOSX::GetSDKDirectory(), PlatformDarwin::GetSDKDirectoryForModules(), PlatformRemoteDarwinDevice::GetStatus(), lldb_private::platform_linux::PlatformLinux::GetStatus(), lldb_private::platform_freebsd::PlatformFreeBSD::GetStatus(), lldb_private::platform_netbsd::PlatformNetBSD::GetStatus(), lldb_private::platform_openbsd::PlatformOpenBSD::GetStatus(), PlatformAppleSimulator::GetStatus(), lldb_private::Platform::GetStatus(), lldb_private::Thread::GetStatus(), lldb_private::Process::GetStatus(), lldb_private::Target::StopHookScripted::GetSubclassDescription(), CommandObjectSourceInfo::GetSymbolContextsForAddress(), lldb_private::ClangExpressionSourceCode::GetText(), lldb_private::Scalar::GetValue(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qC(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::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::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_FStat(), 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(), lldb_private::CommandInterpreter::Initialize(), lldb_private::platform_android::AdbClient::internalShell(), lldb_private::IOHandlerConfirm::IOHandlerConfirm(), lldb_private::Thread::JumpToLine(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::KillSpawnedProcess(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::LaunchGDBServer(), lldb_private::ProcessDebugger::LaunchProcess(), lldb_private::formatters::LibCxxAtomicSummaryProvider(), lldb_private::formatters::LibcxxContainerSummaryProvider(), lldb_private::formatters::LibcxxFunctionSummaryProvider(), lldb_private::formatters::LibcxxOptionalSummaryProvider(), lldb_private::formatters::LibcxxSmartPointerSummaryProvider(), LibcxxStringSummaryProvider(), lldb_private::formatters::LibcxxUniquePointerSummaryProvider(), 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(), LoadScriptingResourceForModule(), 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(), IRForTarget::MaybeHandleCallArguments(), lldb_private::InstrumentationRuntimeTSan::NotifyBreakpointHit(), 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::NSNumberSummaryProvider(), lldb_private::formatters::NSSetSummaryProvider(), lldb_private::formatters::NSStringSummaryProvider(), lldb_private::formatters::NSTaggedString_SummaryProvider(), lldb_private::formatters::NSTimeZoneSummaryProvider(), lldb_private::formatters::NSURLSummaryProvider(), lldb_private::formatters::ObjCBOOLSummaryProvider(), lldb_private::formatters::ObjCClassSummaryProvider(), lldb_private::formatters::ObjCSELSummaryProvider(), Offset(), lldb_private::operator<<(), operator<<(), lldb_private::Options::ParseAlias(), ParseEntry(), lldb_private::Disassembler::ParseInstructions(), DynamicLoaderDarwinKernel::ParseKextSummaries(), InstructionLLVMC::ParseOperands(), CommandObjectRenderScriptRuntimeReductionBreakpointSet::CommandOptions::ParseReductionTypes(), DWARFASTParserClang::ParseSingleMember(), ABIWindows_x86_64::PrepareTrivialCall(), ABISysV_x86_64::PrepareTrivialCall(), ABISysV_mips64::PrepareTrivialCall(), ABISysV_arm64::PrepareTrivialCall(), ABISysV_ppc::PrepareTrivialCall(), ABISysV_ppc64::PrepareTrivialCall(), ABISysV_s390x::PrepareTrivialCall(), ABISysV_mips::PrepareTrivialCall(), ABIMacOSX_arm64::PrepareTrivialCall(), lldb_private::Language::PrintAllLanguages(), InterpreterStackFrame::PrintData(), CommandObjectTargetModulesList::PrintModule(), PrintOption(), PrintPlanElement(), CommandObjectProcessHandle::PrintSignal(), CommandObjectProcessHandle::PrintSignalHeader(), PlatformPOSIX::PutFile(), PutSLEB128(), lldb_private::DataExtractor::PutToLog(), PutULEB128(), QuotedCString(), lldb_private::Instruction::ReadArray(), lldb_private::Instruction::ReadDictionary(), lldb_private::formatters::ReadEncodedBufferAndDumpToStream(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadFile(), DynamicLoaderDarwinKernel::ReadKextSummaryHeader(), UnwindAssemblyInstEmulation::ReadMemory(), lldb_private::EmulateInstruction::ReadMemoryDefault(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadMemoryTags(), lldb_private::ValueObject::ReadPointedString(), lldb_private::AppleObjCTypeEncodingParser::ReadQuotedString(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadRegister(), lldb_private::EmulateInstruction::ReadRegisterDefault(), lldb_private::AppleObjCTypeEncodingParser::ReadStructName(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::ReadXferObject(), lldb_private::RenderScriptRuntime::RecomputeAllAllocations(), IRForTarget::ReplaceVariables(), lldb::SBProcess::ReportEventState(), IRForTarget::ResolveExternals(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RestoreRegisterState(), IRForTarget::RewriteObjCClassReferences(), IRForTarget::RewriteObjCConstString(), IRForTarget::RewriteObjCConstStrings(), IRForTarget::RewriteObjCSelectors(), IRForTarget::RewritePersistentAllocs(), RunScriptFormatKeyword(), lldb_private::Target::RunStopHooks(), lldb_private::Process::RunThreadPlan(), lldb_private::RenderScriptRuntime::SaveAllocation(), 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::SendSetCurrentThreadPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendSpeedTestPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ServeSymbolLookups(), lldb_private::RenderScriptRuntime::SetConditional(), lldb_private::Debugger::SetPropertyValue(), lldb_private::process_gdb_remote::ProcessGDBRemote::SetThreadStopInfo(), lldb_private::OptionValueLanguage::SetValueFromString(), lldb_private::OptionValueEnumeration::SetValueFromString(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), InterpreterStackFrame::SummarizeValue(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SyncThreadState(), lldb_private::EmulateInstructionARM::TestEmulation(), lldb_private::Instruction::TestEmulation(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::TestPacketSpeed(), lldb_private::ThreadPlanStepOut::ThreadPlanStepOut(), lldb_private::OptionArgParser::ToFormat(), lldb_private::OptionArgParser::ToOptionEnum(), TryDumpSpecialEscapedChar(), IRForTarget::UnfoldConstant(), PlatformPOSIX::UnloadImage(), lldb_private::formatters::VectorTypeSummaryProvider(), lldb_private::lldb_renderscript::RSModuleDescriptor::WarnIfVersionMismatch(), lldb_private::formatters::WCharStringSummaryProvider(), lldb_private::formatters::WCharSummaryProvider(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteFile(), lldb_private::EmulateInstruction::WriteMemoryDefault(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteMemoryTags(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteRegister(), and lldb_private::EmulateInstruction::WriteRegisterDefault().

◆ 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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 194 of file Stream.cpp.

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

◆ 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 
)
Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 356 of file Stream.cpp.

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

Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName(), CommandObjectProcessKDPPacketSend::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::FindProcesses(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_g(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qGetWorkingDir(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemTags(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RunShellCommand(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendArgumentsPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendEnvironmentPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendONotification(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStdinNotification(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ServeSymbolLookups(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteAllRegisters(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteMemoryTags(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteRegister().

◆ PutChar()

size_t Stream::PutChar ( char  ch)
Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 104 of file Stream.cpp.

References Write().

Referenced by DWARFDIE::AppendTypeName(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::AutoCompleteDiskFileOrDirectory(), CommunicationKDP::CheckForPacket(), CollectRegNums(), 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::process_gdb_remote::GDBRemoteCommunicationClient::Detach(), lldb_private::SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoResume(), lldb_private::Variable::Dump(), lldb_private::Symbol::Dump(), lldb_private::Property::Dump(), lldb_private::UnwindPlan::Row::RegisterLocation::Dump(), lldb_private::AddressRange::Dump(), lldb_private::Opcode::Dump(), lldb_private::Event::Dump(), lldb_private::Address::Dump(), lldb_private::SymbolFile::Dump(), lldb_private::UnwindPlan::Row::FAValue::Dump(), lldb_private::UnwindPlan::Row::Dump(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), DumpCharacter(), lldb_private::DumpDataExtractor(), lldb_private::Variable::DumpDeclaration(), lldb_private::StructuredDataDarwinLog::DumpHeader(), 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::TypeSystemClang::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::TypeSystemClang::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::ThreadPlanStepInRange::GetDescription(), lldb_private::StopInfoMachException::GetDescription(), lldb_private::BreakpointLocationCollection::GetDescription(), lldb_private::TypeCategoryImpl::GetDescription(), lldb_private::Broadcaster::BroadcasterImpl::GetEventNames(), lldb_private::ValueObject::GetExpressionPath(), lldb_private::ObjCLanguage::MethodName::GetFullNameWithoutCategory(), 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::GDBRemoteCommunicationServerLLGS::Handle_qMemTags(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qPathComplete(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qPlatform_shell(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qRegisterInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qXfer(), 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::StructuredDataDarwinLog::HandleDisplayOfEvent(), lldb_private::Debugger::HandleProcessEvent(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::MakeDirectory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::OpenFile(), operator<<(), CommandObjectTargetModulesList::PrintModule(), PrintOption(), PrintRegisterValue(), 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::GDBRemoteCommunicationClient::SendSetCurrentThreadPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendWResponse(), lldb_private::Target::SerializeBreakpointsToFile(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetFilePermissions(), UUIDsMatch(), lldb_private::formatters::VectorTypeSummaryProvider(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteAllRegisters().

◆ 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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 63 of file Stream.cpp.

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

Referenced by _PutHex8(), CommandObjectTargetSymbolsAdd::AddSymbolsForFile(), CommandObjectTargetSymbolsAdd::AddSymbolsForUUID(), DWARFDIE::AppendTypeName(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::AutoCompleteDiskFileOrDirectory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::BuildTargetXml(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CalculateMD5(), chown_file(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ConfigureRemoteStructuredData(), lldb_private::ProcessLaunchInfo::ConvertArgumentsForLaunchingInShell(), 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< TypeFormatImpl >::DoExecute(), CommandObjectProcessStatus::DoExecute(), CommandObjectPlatformShell::DoExecute(), CommandObjectTargetStopHookList::DoExecute(), CommandObjectProcessGDBRemotePacketSend::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoResume(), DWARFDebugRanges::Dump(), lldb_private::Variable::Dump(), lldb_private::Symtab::Dump(), lldb_private::EventData::Dump(), lldb_private::FileAction::Dump(), lldb_private::StackID::Dump(), DWARFFormValue::Dump(), lldb_private::DebugNamesDWARFIndex::Dump(), lldb_private::AppleDWARFIndex::Dump(), lldb_private::UUID::Dump(), ObjectFileJIT::Dump(), ObjectFileMachO::Dump(), lldb_private::Debugger::ProgressEventData::Dump(), lldb_private::SymbolContext::Dump(), lldb_private::Type::Dump(), ObjectFilePECOFF::Dump(), ObjectFileELF::Dump(), lldb_private::Instruction::Dump(), lldb_private::ProcessInstanceInfo::Dump(), lldb_private::ModuleSpec::Dump(), lldb_private::UnwindPlan::Row::RegisterLocation::Dump(), lldb_private::Opcode::Dump(), lldb_private::Address::Dump(), lldb_private::ConstString::Dump(), lldb_private::SymbolFile::Dump(), lldb_private::UnwindPlan::Row::FAValue::Dump(), lldb_private::EmulateInstruction::Context::Dump(), lldb_private::SymbolContextList::Dump(), lldb_private::UnwindPlan::Dump(), lldb_private::Process::ProcessEventData::Dump(), lldb_private::Target::Dump(), DumpAddress(), lldb_private::Properties::DumpAllDescriptions(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), ObjectFilePECOFF::DumpCOFFHeader(), DumpCommaSeparatedChildEntryNames(), lldb_private::DumpDataExtractor(), ObjectFilePECOFF::DumpDependentModules(), ObjectFileELF::DumpDependentModules(), ObjectFilePECOFF::DumpDOSHeader(), DumpDWARFExpr(), ObjectFileELF::DumpELFHeader(), ObjectFileELF::DumpELFProgramHeaders(), ObjectFileELF::DumpELFSectionHeaders(), DumpEnumValue(), lldb_private::StructuredDataDarwinLog::DumpHeader(), 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::TypeSystemClang::DumpSummary(), lldb_private::Symbol::DumpSymbolContext(), lldb_private::ProcessInstanceInfo::DumpTableHeader(), DumpTargetInfo(), DumpTargetList(), lldb_private::TypeSystemClang::DumpTypeDescription(), lldb_private::StackFrame::DumpUsingSettingsFormat(), lldb_private::OptionValueFormatEntity::DumpValue(), lldb_private::OptionValueRegex::DumpValue(), lldb_private::OptionValueBoolean::DumpValue(), lldb_private::OptionValueFileColonLine::DumpValue(), lldb_private::OptionValueUUID::DumpValue(), lldb_private::OptionValueChar::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueFormat::DumpValue(), lldb_private::OptionValueLanguage::DumpValue(), lldb_private::OptionValueFileSpec::DumpValue(), lldb_private::OptionValueSInt64::DumpValue(), lldb_private::OptionValueArch::DumpValue(), lldb_private::OptionValueUInt64::DumpValue(), lldb_private::OptionValueEnumeration::DumpValue(), lldb_private::OptionValueString::DumpValue(), lldb_private::Type::DumpValue(), DumpValue(), CommandObjectTargetVariable::DumpValueObject(), 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::BreakpointID::GetCanonicalReference(), lldb_private::ThreadPlanStepThrough::GetDescription(), lldb::SBFileSpecList::GetDescription(), lldb_private::StopInfoMachException::GetDescription(), lldb::SBTypeEnumMember::GetDescription(), lldb_private::BreakpointID::GetDescription(), lldb::SBTypeMember::GetDescription(), lldb_private::BreakpointResolverScripted::GetDescription(), lldb::SBDeclaration::GetDescription(), lldb_private::BreakpointResolverAddress::GetDescription(), lldb::SBAddress::GetDescription(), lldb::SBLineEntry::GetDescription(), lldb::SBFileSpec::GetDescription(), lldb::SBSymbolContext::GetDescription(), lldb::SBSymbol::GetDescription(), lldb::SBEvent::GetDescription(), lldb::SBWatchpoint::GetDescription(), lldb::SBCompileUnit::GetDescription(), lldb::SBBlock::GetDescription(), lldb::SBData::GetDescription(), lldb::SBCommandReturnObject::GetDescription(), lldb::SBSection::GetDescription(), lldb_private::AppleThreadPlanStepThroughDirectDispatch::GetDescription(), lldb::SBBreakpointLocation::GetDescription(), lldb_private::ThreadSpec::GetDescription(), lldb::SBModule::GetDescription(), lldb_private::Type::GetDescription(), lldb_private::WatchpointOptions::GetDescription(), lldb_private::Symbol::GetDescription(), lldb::SBFrame::GetDescription(), lldb_private::BreakpointLocation::GetDescription(), lldb_private::BreakpointName::GetDescription(), lldb::SBThread::GetDescription(), lldb::SBType::GetDescription(), lldb_private::SymbolContext::GetDescription(), lldb::SBProcess::GetDescription(), lldb::SBDebugger::GetDescription(), lldb::SBValue::GetDescription(), lldb_private::TypeImpl::GetDescription(), lldb_private::TypeCategoryImpl::GetDescription(), lldb_private::BreakpointOptions::GetDescription(), lldb_private::SearchFilterByModule::GetDescription(), lldb_private::SymbolContextSpecifier::GetDescription(), lldb_private::SearchFilterByModuleList::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), lldb_private::SearchFilterByModuleListAndCU::GetDescription(), lldb_private::Breakpoint::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(), DWARFDIE::GetName(), PlatformPOSIX::GetPlatformSpecificConnectionInformation(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetRemoteQSupported(), lldb_private::IRExecutionUnit::GetRunnableInfo(), PlatformRemoteDarwinDevice::GetStatus(), lldb::SBThread::GetStatus(), lldb_private::Target::StopHookCommandLine::GetSubclassDescription(), lldb_private::Target::StopHookScripted::GetSubclassDescription(), lldb_private::CommandObject::GetSyntax(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetThreadPacketSupported(), lldb_private::Scalar::GetValue(), 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::GDBRemoteCommunicationServerLLGS::Handle_qSaveCore(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qSpeedTest(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_MD5(), 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::StructuredDataDarwinLog::HandleArrivalOfStructuredData(), lldb_private::Process::HandleProcessStateChangedEvent(), Indent(), lldb_private::IOHandlerConfirm::IOHandlerConfirm(), lldb_private::CommandObjectExpression::IOHandlerInputComplete(), lldb_private::StringList::Join(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::LaunchGDBServer(), 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::ObjCBooleanSummaryProvider(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::OpenFile(), InstructionLLVMC::ParseOperands(), CommandObjectRenderScriptRuntimeReductionBreakpointSet::CommandOptions::ParseReductionTypes(), ABISysV_x86_64::PrepareTrivialCall(), ABIWindows_x86_64::PrepareTrivialCall(), ABISysV_s390x::PrepareTrivialCall(), ABISysV_ppc::PrepareTrivialCall(), ABISysV_mips64::PrepareTrivialCall(), ABISysV_mips::PrepareTrivialCall(), ABISysV_arm64::PrepareTrivialCall(), ABISysV_ppc64::PrepareTrivialCall(), ABIMacOSX_arm64::PrepareTrivialCall(), lldb_private::ValueObjectPrinter::PrintDecl(), CommandObjectTargetModulesList::PrintModule(), PrintOption(), IRForTarget::ReplaceVariables(), lldb_private::Module::ReportError(), lldb_private::Module::ReportErrorIfModifyDetected(), lldb_private::Module::ReportWarning(), PlatformRemoteDarwinDevice::ResolveExecutable(), lldb_private::RemoteAwarePlatform::ResolveExecutable(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ResolveExecutable(), PlatformAppleSimulator::ResolveExecutable(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RunShellCommand(), lldb_private::Process::RunThreadPlan(), lldb_private::process_gdb_remote::ProcessGDBRemote::SaveCore(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SaveRegisterState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendArgumentsPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendEnvironmentPacket(), CommunicationKDP::SendRequestConnect(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendSetCurrentThreadPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendSpeedTestPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStdinNotification(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendTraceGetBinaryData(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendTraceGetState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendTraceStart(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendTraceStop(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendTraceSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ServeSymbolLookups(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetFilePermissions(), lldb_private::Debugger::SetPropertyValue(), 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(), IRForTarget::UnfoldConstant(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::Unlink(), lldb_private::StackFrame::UpdateCurrentFrameFromPreviousFrame(), UUIDsMatch(), lldb_private::lldb_renderscript::RSModuleDescriptor::WarnIfVersionMismatch(), UnwindAssemblyInstEmulation::WriteMemory(), and lldb_private::EmulateInstruction::WriteRegisterDefault().

◆ 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 
)

◆ 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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 47 of file Stream.cpp.

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

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

◆ PutStringAsRawHex8()

size_t Stream::PutStringAsRawHex8 ( llvm::StringRef  s)
Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 382 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::GDBRemoteCommunicationClient::AutoCompleteDiskFileOrDirectory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CalculateMD5(), 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::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::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), 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::GDBRemoteCommunicationServerPlatform::Handle_qPathComplete(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qSaveCore(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qUserName(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::MakeDirectory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::OpenFile(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RunShellCommand(), lldb_private::process_gdb_remote::ProcessGDBRemote::SaveCore(), 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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 55 of file Stream.cpp.

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

Referenced by ConvertPDBLocationToDWARFExpression(), DWARFFormValue::Dump(), 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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 75 of file Stream.cpp.

References Printf().

Referenced by DWARFFormValue::Dump().

◆ 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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 37 of file Stream.cpp.

References m_byte_order.

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

◆ SetIndentLevel()

void Stream::SetIndentLevel ( unsigned  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
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Definition at line 101 of file Stream.h.

References m_bytes_written, and WriteImpl().

Referenced by _PutHex8(), lldb::SBTypeSummary::CreateWithCallback(), lldb_private::Address::Dump(), DumpAPInt(), DumpStringToStreamWithNewline(), lldb_private::TypeSystemClang::DumpTypeDescription(), lldb_private::Debugger::FlushProcessOutput(), lldb_private::FormatEntity::Format(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::StructuredDataDarwinLog::HandleDisplayOfEvent(), lldb_private::CommandObjectExpression::IOHandlerInputComplete(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::MakeUrl(), operator<<(), lldb_private::Options::OutputFormattedUsageText(), lldb_private::IOHandler::PrintAsync(), lldb_private::IOHandlerStack::PrintAsync(), PrintfVarArg(), PrintRegisterValue(), PutChar(), PutCString(), ReadThreadBytesReceived(), ObjectFileMachO::SaveCore(), lldb_private::process_gdb_remote::GDBRemoteCommunication::SendPacketNoLock(), CommunicationKDP::SendRequestWriteRegisters(), lldb_private::Stream::RawOstreamForward::write_impl(), and lldb_private::StreamTee::WriteImpl().

◆ 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::StreamAsynchronousIO, lldb_private::StreamTee, lldb_private::StreamString, lldb_private::StreamFile, and lldb_private::StreamBuffer< N >.

Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/lldb/include/lldb/Utility/Stream.h.

Referenced by Write().

Member Data Documentation

◆ m_addr_size

uint32_t lldb_private::Stream::m_addr_size = 4
protected

◆ 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

◆ m_flags

Flags lldb_private::Stream::m_flags
protected

◆ m_forwarder

RawOstreamForward lldb_private::Stream::m_forwarder
protected

◆ m_indent_level

unsigned lldb_private::Stream::m_indent_level = 0
protected

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