LLDB  mainline
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lldb_private::StreamString Class Reference

#include <StreamString.h>

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

Public Member Functions

 StreamString ()
 
 StreamString (uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order)
 
 ~StreamString () override
 
void Flush () override
 Flush the stream. More...
 
void Clear ()
 
bool Empty () const
 
size_t GetSize () const
 
size_t GetSizeOfLastLine () const
 
llvm::StringRef GetString () const
 
const char * GetData () const
 
void FillLastLineToColumn (uint32_t column, char fill_char)
 
- Public Member Functions inherited from lldb_private::Stream
 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...
 
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

size_t WriteImpl (const void *s, size_t length) override
 Output character bytes to the stream. More...
 
- Protected Member Functions inherited from lldb_private::Stream
void _PutHex8 (uint8_t uvalue, bool add_prefix)
 

Protected Attributes

std::string m_packet
 
- Protected Attributes inherited from lldb_private::Stream
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
 

Additional Inherited Members

- Public Types inherited from lldb_private::Stream
enum  { eBinary = (1 << 0) }
 m_flags bit values. More...
 

Detailed Description

Definition at line 23 of file StreamString.h.

Constructor & Destructor Documentation

◆ StreamString() [1/2]

StreamString::StreamString ( )

Definition at line 14 of file StreamString.cpp.

◆ StreamString() [2/2]

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

Definition at line 16 of file StreamString.cpp.

◆ ~StreamString()

StreamString::~StreamString ( )
override

Definition at line 20 of file StreamString.cpp.

Member Function Documentation

◆ Clear()

void StreamString::Clear ( )

◆ Empty()

bool StreamString::Empty ( ) const

◆ FillLastLineToColumn()

void StreamString::FillLastLineToColumn ( uint32_t  column,
char  fill_char 
)

Definition at line 53 of file StreamString.cpp.

References m_packet.

Referenced by lldb_private::Instruction::Dump(), and GetData().

◆ Flush()

void StreamString::Flush ( )
overridevirtual

◆ GetData()

const char* lldb_private::StreamString::GetData ( ) const
inline

Definition at line 43 of file StreamString.h.

References FillLastLineToColumn(), and m_packet.

Referenced by lldb::SBBreakpoint::AddLocation(), CommandObjectTargetSymbolsAdd::AddModuleSymbols(), lldb_private::Target::AddNameToBreakpoint(), lldb_private::ValueObject::AddressOf(), lldb_private::Process::Attach(), chown_file(), lldb_private::CommandAlias::CommandAlias(), lldb_private::CommandObjectMultiwordBreakpoint::CommandObjectMultiwordBreakpoint(), lldb_private::RenderScriptRuntime::CreateExceptionResolver(), lldb_private::Target::CreateScriptedBreakpoint(), lldb_private::formatters::CXXFunctionPointerSummaryProvider(), lldb_private::platform_netbsd::PlatformNetBSD::DebugProcess(), lldb_private::platform_linux::PlatformLinux::DebugProcess(), lldb_private::ValueObject::Dereference(), lldb_private::StackFrame::Disassemble(), lldb_private::CommandObjectHelp::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectSourceList::DoExecute(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), lldb_private::StopInfoUnixSignal::DoShouldNotify(), lldb_private::platform_android::PlatformAndroid::DownloadSymbolFile(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::Event::Dump(), lldb_private::ProcessInstanceInfo::DumpAsTableRow(), lldb_private::Property::DumpDescription(), CommandObjectSourceInfo::DumpLinesForAddress(), CommandObjectSourceInfo::DumpLinesInFunctions(), lldb_private::ScriptInterpreterPythonImpl::EnterSession(), lldb_private::DWARFExpression::Evaluate(), lldb::SBFrame::EvaluateExpression(), lldb_private::SymbolContext::FindBestGlobalDataSymbol(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::ScriptInterpreterPythonImpl::GenerateBreakpointCommandCallbackData(), lldb_private::ScriptInterpreterPythonImpl::GenerateFunction(), lldb_private::ScriptInterpreterPythonImpl::GenerateScriptAliasFunction(), lldb_private::ScriptInterpreterPythonImpl::GenerateTypeScriptFunction(), lldb_private::ScriptInterpreterPythonImpl::GenerateWatchpointCommandCallbackData(), PlatformAppleSimulator::GetCoreSimulatorPath(), PlatformPOSIX::GetFile(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetFilePermissions(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::GetModuleSpec(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetModuleSpec(), GetModuleSpecInfoFromUUIDDictionary(), lldb_private::ThreadPlanCallUserExpression::GetRealStopInfo(), lldb_private::IRExecutionUnit::GetRunnableInfo(), lldb_private::AppleObjCTrampolineHandler::GetStepThroughDispatchPlan(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetSupportedStructuredDataPlugins(), CommandObjectSourceInfo::GetSymbolContextsForAddress(), lldb_private::ClangExpressionSourceCode::GetText(), lldb_private::CompactUnwindInfo::GetUnwindPlan(), lldb_private::StackFrame::GetValueForVariableExpressionPath(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceConfigRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceRead(), lldb_private::StructuredDataDarwinLog::HandleArrivalOfStructuredData(), DynamicLoaderMacOSXDYLD::InitializeFromAllImageInfos(), lldb_private::ThreadPlanStepRange::InRange(), lldb_private::ScriptInterpreterPythonImpl::IsReservedWord(), lldb_private::Thread::JumpToLine(), lldb_private::ScriptInterpreterPythonImpl::LoadScriptingModule(), LoadScriptingResourceForModule(), lldb_private::Module::LoadScriptingResourceInTarget(), PlatformDarwin::LocateExecutableScriptingResources(), lldb_private::StringList::LogDump(), lldb_private::Module::LogMessage(), lldb_private::Module::LogMessageVerboseBacktrace(), lldb_private::ValueObject::LogValueObject(), lldb_private::ThreadPlanStepThrough::LookForPlanToStepThroughFromCurrentPC(), lldb_private::formatters::NSBundleSummaryProvider(), lldb_private::formatters::NSError_SummaryProvider(), lldb_private::formatters::NSException_SummaryProvider(), lldb_private::formatters::NSNotificationSummaryProvider(), lldb_private::formatters::NSTimeZoneSummaryProvider(), DWARFASTParserClang::ParseChildEnumerators(), ParseEntry(), ParseStructuredDataPacket(), SymbolFileDWARF::ParseVariableDIE(), lldb_private::StopInfoBreakpoint::PerformAction(), lldb_private::UnwindPlan::PlanValidAtAddress(), lldb_private::ValueObjectPrinter::PrintDecl(), lldb_private::Broadcaster::BroadcasterImpl::PrivateBroadcastEvent(), ProcessVmReadvSupported(), lldb_private::Thread::PushPlan(), PlatformPOSIX::PutFile(), lldb_private::ThreadPlanStepOut::QueueInlinedStepPlan(), lldb_private::process_gdb_remote::GDBRemoteRegisterContext::ReadAllRegisterValues(), lldb_private::RegisterContextLLDB::RegisterContextLLDB(), lldb_private::Module::ReportError(), lldb_private::Module::ReportErrorIfModifyDetected(), lldb_private::Module::ReportWarning(), PlatformRemoteDarwinDevice::ResolveExecutable(), PlatformPOSIX::ResolveExecutable(), lldb_private::PlatformWindows::ResolveExecutable(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ResolveExecutable(), DynamicLoaderPOSIXDYLD::ResolveExecutableModule(), lldb_private::ClangExpressionDeclMap::ResolveUnknownTypes(), lldb_private::IOHandlerPythonInterpreter::Run(), sddarwinlog_private::RunEnableCommand(), lldb_private::Process::RunThreadPlan(), lldb_private::ScriptInterpreterPythonImpl::ScriptInterpreterPythonImpl(), lldb_private::BreakpointResolverAddress::SearchCallback(), lldb_private::BreakpointResolverName::SearchCallback(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceConfigPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceDataPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStartTracePacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStopTracePacket(), SetErrorWithJSON(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetFilePermissions(), CommandObjectRenderScriptRuntimeReductionBreakpointSet::CommandOptions::SetOptionValue(), lldb_private::BreakpointResolver::SetSCMatchesByLine(), ShouldLaunchUsingXPC(), lldb_private::ThreadPlanStepInstruction::ShouldStop(), lldb_private::ThreadPlanStepOverRange::ShouldStop(), lldb_private::ThreadPlanStepInRange::ShouldStop(), lldb_private::BreakpointLocation::ShouldStop(), lldb_private::Thread::ShouldStop(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), PlatformPOSIX::UnloadImage(), OperatingSystemPython::UpdateThreadList(), SourceFileWindowDelegate::WindowDelegateDraw(), lldb_private::process_gdb_remote::GDBRemoteRegisterContext::WriteAllRegisterValues(), lldb_private::process_gdb_remote::GDBRemoteRegisterContext::WriteRegisterBytes(), lldb_private::CompilerType::WriteToMemory(), lldb_private::AppleObjCTrampolineHandler::~AppleObjCTrampolineHandler(), IRForTarget::~IRForTarget(), and lldb_private::TargetList::~TargetList().

◆ GetSize()

size_t StreamString::GetSize ( ) const

Definition at line 38 of file StreamString.cpp.

References m_packet.

Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ConfigureRemoteStructuredData(), CopyStringDataToBufferSP(), lldb_private::formatters::CXXFunctionPointerSummaryProvider(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoResume(), lldb_private::Address::Dump(), Empty(), lldb_private::Options::GenerateOptionUsage(), lldb_private::CommandObject::GetArgumentHelp(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModulesInfo(), PlatformPOSIX::GetPlatformSpecificConnectionInformation(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceConfigRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qQueryGDBServer(), LoadScriptingResourceForModule(), lldb_private::ValueObject::LogValueObject(), lldb_private::formatters::NSBundleSummaryProvider(), lldb_private::formatters::NSNotificationSummaryProvider(), lldb_private::formatters::NSTimeZoneSummaryProvider(), lldb_private::DataExtractor::PutToLog(), ObjectFileMachO::SaveCore(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceConfigPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceDataPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStartTracePacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStopTracePacket(), lldb_private::Debugger::SetPropertyValue(), lldb_private::ThreadPlanCallFunction::ValidatePlan(), and lldb_private::StructuredDataDarwinLog::~StructuredDataDarwinLog().

◆ GetSizeOfLastLine()

size_t StreamString::GetSizeOfLastLine ( ) const

◆ GetString()

llvm::StringRef StreamString::GetString ( ) const

Definition at line 51 of file StreamString.cpp.

References m_packet.

Referenced by PlatformDarwin::AddClangModuleCompilationOptionsForSDKType(), lldb_private::CommandReturnObject::AppendErrorWithFormat(), lldb_private::CommandReturnObject::AppendMessageWithFormat(), sddarwinlog_private::EnableCommand::AppendStrictSourcesWarning(), lldb_private::CommandReturnObject::AppendWarningWithFormat(), lldb_private::AppleObjCTypeEncodingParser::AppleObjCTypeEncodingParser(), lldb_private::CommandObjectMultiword::AproposAllSubCommands(), arch_helper(), lldb_private::CommandInterpreter::BuildAliasResult(), SymbolFileDWARF::CalculateAbilities(), InstructionLLVMC::CalculateMnemonicOperandsAndComment(), lldb_private::process_gdb_remote::GDBRemoteCommunication::CheckForPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CloseFile(), lldb_private::CommandAlias::CommandAlias(), CommandObjectFormatterInfo< FormatterType >::CommandObjectFormatterInfo(), CommandObjectPythonFunction::CommandObjectPythonFunction(), CommandObjectScriptingObject::CommandObjectScriptingObject(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ConfigureRemoteStructuredData(), lldb_private::ProcessLaunchInfo::ConvertArgumentsForLaunchingInShell(), lldb_private::StringList::CopyList(), CopyStringDataToBufferSP(), lldb_private::RenderScriptRuntime::CreateExceptionResolver(), lldb_private::darwin_process_launcher::CreatePosixSpawnFileAction(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::CreateSymlink(), lldb_private::FormatManager::DisableAllCategories(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName(), lldb_private::CommandObjectQuit::DoExecute(), lldb_private::LLVMUserExpression::DoExecute(), lldb_private::CommandObjectHelp::DoExecute(), CommandObjectProcessLaunch::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectWatchpointSetVariable::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectCommandsDelete::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectBreakpointClear::DoExecute(), CommandObjectBreakpointNameList::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), lldb_private::ProcessWindows::DoLaunch(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoResume(), lldb_private::ThreadPlanStepOverRange::DoWillResume(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::Instruction::Dump(), lldb_private::Address::Dump(), lldb_private::Property::DumpDescription(), DumpModuleArchitecture(), lldb_private::ValueObject::DumpPrintableRepresentation(), lldb_private::DumpRegisterValue(), EntityPersistentVariable::DumpToLog(), EntityVariable::DumpToLog(), EntityResultVariable::DumpToLog(), EntitySymbol::DumpToLog(), EntityRegister::DumpToLog(), lldb_private::StructuredData::Object::DumpToStdout(), lldb_private::StackFrame::DumpUsingSettingsFormat(), DumpValue(), lldb::SBTarget::EvaluateExpression(), lldb_private::BreakpointIDList::FindAndReplaceIDRanges(), lldb_private::ClangASTSource::FindObjCMethodDecls(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::FindProcesses(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::FormatEntity::Format(), FormatHelpTextCallback(), lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::StringSummaryFormat::FormatObject(), lldb_private::CXXFunctionSummaryFormat::FormatObject(), lldb_private::Options::GenerateOptionUsage(), lldb_private::ScriptInterpreterPythonImpl::GenerateTypeSynthClass(), GenerateUniqueName(), lldb_private::OptionValueDictionary::GetArgs(), lldb_private::CommandObject::GetArgumentHelp(), lldb_private::AppleObjCRuntime::GetBacktraceThreadFromException(), lldb_private::ClangASTContext::GetBitSize(), 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(), lldb_private::StopInfoMachException::GetDescription(), lldb_private::TypeFormatImpl_Format::GetDescription(), lldb_private::StopInfoBreakpoint::GetDescription(), lldb_private::TypeValidatorImpl_CXX::GetDescription(), lldb_private::TypeFormatImpl_EnumType::GetDescription(), lldb_private::StringSummaryFormat::GetDescription(), lldb_private::TypeFilterImpl::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::CXXSyntheticChildren::GetDescription(), lldb_private::TypeCategoryImpl::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), lldb_private::ScriptedSyntheticChildren::GetDescription(), lldb_private::StopInfoWatchpoint::GetDescription(), lldb_private::StopInfoUnixSignal::GetDescription(), lldb_private::StopInfoThreadPlan::GetDescription(), lldb_private::Target::StopHook::GetDescription(), lldb_private::ScriptInterpreterPythonImpl::GetDocumentationForItem(), lldb_private::XMLDocument::GetErrors(), lldb_private::ClangExpressionParser::LLDBPreprocessorCallbacks::getErrorString(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetExtendedInfoForThread(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetFileLoadAddress(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetFilePermissions(), lldb_private::CommandObject::GetFormattedCommandArguments(), 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(), lldb::SBDebugger::GetInternalVariableValue(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetLoadedDynamicLibrariesInfos_sender(), lldb_private::ValueObject::GetLocationAsCStringImpl(), lldb_private::Module::GetMemoryObjectFile(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModulesInfo(), GetModuleSpecInfoFromUUIDDictionary(), lldb_private::ObjectFile::GetNextSyntheticSymbolName(), UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly(), lldb_private::ValueObject::GetObjectDescription(), PlatformPOSIX::GetPlatformSpecificConnectionInformation(), UnwindAssemblyInstEmulation::GetPluginDescriptionStatic(), GetRegistersAsJSON(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetRemoteQSupported(), lldb_private::IRExecutionUnit::GetRunnableInfo(), PlatformMacOSX::GetSDKDirectory(), PlatformDarwin::GetSDKDirectoryForModules(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetSharedCacheInfo(), lldb_private::CommandObject::GetSyntax(), lldb_private::ClangExpressionSourceCode::GetText(), lldb_private::JSONParser::GetToken(), GetValueOfCompressedPair(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_jSignalsInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jThreadsInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceConfigRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceRead(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_jTraceStart(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_memory_read(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_p(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qC(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qC(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qFileLoadAddress(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qfThreadInfo(), 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::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_chmod(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qPlatform_mkdir(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qProcessInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qProcessInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qProcessInfoPID(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qQueryGDBServer(), 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_qsProcessInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qUserName(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qWatchpointSupportInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qXfer_auxv_read(), 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_Exists(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_MD5(), 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_Size(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_symlink(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_vFile_unlink(), lldb_private::Debugger::HandleProcessEvent(), curses::HelpDialogDelegate::HelpDialogDelegate(), lldb_private::CommandObject::HelpTextContainsWord(), lldb_private::ClangHighlighter::Highlight(), lldb_private::Highlighter::Highlight(), lldb_private::CommandInterpreter::Initialize(), lldb_private::IOHandlerConfirm::IOHandlerConfirm(), lldb_private::Thread::JumpToLine(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::KillSpawnedProcess(), LanguageTypeHelpTextCallback(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::LaunchGDBServer(), lldb_private::darwin_process_launcher::LaunchInferior(), LaunchInNewTerminalWithAppleScript(), EmulationStateARM::LoadStateFromDictionary(), PlatformDarwin::LocateExecutableScriptingResources(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::MakeDirectory(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::MakeUrl(), ApplicationDelegate::MenuDelegateAction(), lldb_private::formatters::NSURLSummaryProvider(), lldb_private::operator<<(), lldb_private::CommandInterpreter::OutputFormattedHelpText(), lldb_private::CommandInterpreter::OutputHelpText(), lldb_private::Options::Parse(), lldb_private::Options::ParseAlias(), DWARFASTParserClang::ParseChildMembers(), lldb_private::Options::ParseForCompletion(), DWARFASTParserClang::ParseFunctionFromDWARF(), InstructionLLVMC::ParseOperands(), lldb_private::darwin_process_launcher::PosixSpawnChildForPTraceDebugging(), ABISysV_x86_64::PrepareTrivialCall(), ABISysV_mips::PrepareTrivialCall(), ABISysV_ppc::PrepareTrivialCall(), ABISysV_s390x::PrepareTrivialCall(), ABISysV_arm64::PrepareTrivialCall(), ABISysV_mips64::PrepareTrivialCall(), ABISysV_ppc64::PrepareTrivialCall(), ABIMacOSX_arm64::PrepareTrivialCall(), InterpreterStackFrame::PrintData(), lldb_private::ValueObjectPrinter::PrintDecl(), lldb_private::DiagnosticManager::Printf(), lldb_private::DataExtractor::PutToLog(), lldb_private::Thread::QueueThreadPlan(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadFile(), lldb_private::ThreadPlanCallFunction::ReportRegisterState(), PlatformAppleTVSimulator::ResolveExecutable(), PlatformAppleWatchSimulator::ResolveExecutable(), PlatformiOSSimulator::ResolveExecutable(), lldb_private::CommandInterpreter::RunCommandInterpreter(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RunShellCommand(), lldb_private::Process::RunThreadPlan(), ObjectFileMachO::SaveCore(), 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::SendGetTraceConfigPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceDataPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendLaunchArchPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendLaunchEventDataPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendONotification(), lldb_private::process_gdb_remote::GDBRemoteCommunication::SendPacketNoLock(), lldb_private::process_gdb_remote::GDBRemoteCommunication::SendRawPacketNoLock(), 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::ConnectionFileDescriptor::SetChildProcessesInherit(), 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::ProcessGDBRemote::SetThreadStopInfo(), lldb_private::CommandCompletions::SettingsNames(), lldb_private::OptionValueLanguage::SetValueFromString(), lldb_private::OptionValueEnumeration::SetValueFromString(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetWorkingDir(), Sprintf(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), InterpreterStackFrame::SummarizeValue(), lldb_private::platform_android::AdbClient::SwitchDeviceTransport(), DisassemblerLLVMC::SymbolLookup(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SyncThreadState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::TestPacketSpeed(), lldb_private::OptionArgParser::ToFormat(), lldb_private::OptionArgParser::ToOptionEnum(), FrameTreeDelegate::TreeDelegateDrawTreeItem(), ThreadTreeDelegate::TreeDelegateDrawTreeItem(), ThreadsTreeDelegate::TreeDelegateDrawTreeItem(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::Unlink(), lldb_private::StackFrame::UpdateCurrentFrameFromPreviousFrame(), lldb_private::ThreadPlanCallFunction::ValidatePlan(), lldb::SBValue::Watch(), StatusBarWindowDelegate::WindowDelegateDraw(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteFile(), lldb_private::EmulateInstruction::WriteMemoryUnsigned(), lldb_private::process_darwin::NativeProcessDarwin::~NativeProcessDarwin(), lldb_private::StructuredDataDarwinLog::~StructuredDataDarwinLog(), and lldb_private::TargetList::~TargetList().

◆ WriteImpl()

size_t StreamString::WriteImpl ( const void *  src,
size_t  src_len 
)
overrideprotectedvirtual

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.

Implements lldb_private::Stream.

Definition at line 26 of file StreamString.cpp.

References m_packet.

Member Data Documentation

◆ m_packet

std::string lldb_private::StreamString::m_packet
protected

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