LLDB mainline
|
#include <DataBuffer.h>
Public Member Functions | |
~WritableDataBuffer () override=default | |
Destructor. | |
uint8_t * | GetBytes () |
Get a pointer to the data. | |
llvm::MutableArrayRef< uint8_t > | GetData () |
bool | isA (const void *ClassID) const override |
const uint8_t * | GetBytes () const |
Get a const pointer to the data. | |
llvm::ArrayRef< uint8_t > | GetData () const |
Public Member Functions inherited from lldb_private::DataBuffer | |
virtual | ~DataBuffer ()=default |
virtual lldb::offset_t | GetByteSize () const =0 |
Get the number of bytes in the data buffer. | |
const uint8_t * | GetBytes () const |
Get a const pointer to the data. | |
llvm::ArrayRef< uint8_t > | GetData () const |
virtual bool | isA (const void *ClassID) const |
Static Public Member Functions | |
static bool | classof (const DataBuffer *data_buffer) |
Static Public Member Functions inherited from lldb_private::DataBuffer | |
static bool | classof (const DataBuffer *data_buffer) |
Static Public Attributes | |
static char | ID |
LLVM RTTI support. | |
Static Public Attributes inherited from lldb_private::DataBuffer | |
static char | ID |
LLVM RTTI support. | |
Additional Inherited Members | |
Protected Member Functions inherited from lldb_private::DataBuffer | |
virtual const uint8_t * | GetBytesImpl () const =0 |
} | |
Definition at line 90 of file DataBuffer.h.
|
overridedefault |
Destructor.
The destructor is virtual as other classes will inherit from this class and be downcast to the DataBuffer pure virtual interface. The virtual destructor ensures that destructing the base class will destruct the class that inherited from it correctly.
|
inlinestatic |
Definition at line 120 of file DataBuffer.h.
References ID, and lldb_private::DataBuffer::isA().
|
inline |
Get a pointer to the data.
Definition at line 108 of file DataBuffer.h.
References lldb_private::DataBuffer::GetBytesImpl().
Referenced by MinidumpFileBuilder::AddModuleList(), MinidumpFileBuilder::AddThreadList(), lldb_private::DataExtractor::Append(), lldb_private::Value::AppendBytes(), lldb_private::Value::AppendDataToHostBuffer(), ApplyELF32ABS32RelRelocation(), ApplyELF64ABS32Relocation(), ApplyELF64ABS64Relocation(), ObjectFileELF::ApplyRelocations(), InterpreterStackFrame::AssignValue(), SystemRuntimeMacOSX::CompleteQueueItem(), lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::CreateSharedCacheImageHeaders(), CommandObjectMemoryFind::DoExecute(), EntityPersistentVariable::DumpToLog(), EntityVariableBase::DumpToLog(), EntityResultVariable::DumpToLog(), EntitySymbol::DumpToLog(), EntityRegister::DumpToLog(), lldb_private::DWARFExpression::Evaluate(), lldb_private::AppleObjCRuntimeV2::NonPointerISACache::EvaluateNonPointerISA(), MinidumpFileBuilder::FlushBufferToDisk(), lldb_private::formatters::NSSetISyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::GenericNSSetMSyntheticFrontEnd< D32, D64 >::GetChildAtIndex(), GetData(), lldb_private::Value::GetData(), SystemRuntimeMacOSX::GetExtendedBacktraceFromItemRef(), SystemRuntimeMacOSX::GetExtendedBacktraceThread(), GetMacOSXProcessArgs(), lldb_private::IRMemoryMap::GetMemoryData(), SystemRuntimeMacOSX::GetPendingItemRefsForQueue(), lldb_private::ValueObject::GetPointeeData(), ABISysV_arm::GetReturnValueObjectImpl(), GetReturnValuePassedInMemory(), lldb_private::IRExecutionUnit::GetRunnableInfo(), IRInterpreter::Interpret(), lldb_private::Value::operator=(), SystemRuntimeMacOSX::PopulateQueuesUsingLibBTR(), InterpreterStackFrame::PrintData(), lldb_private::ClassDescriptorV2::objc_class_t::Read(), lldb_private::ClassDescriptorV2::class_ro_t::Read(), lldb_private::ClassDescriptorV2::class_rw_t::Read(), lldb_private::ClassDescriptorV2::method_list_t::Read(), lldb_private::ClassDescriptorV2::ivar_list_t::Read(), lldb_private::ClassDescriptorV2::ivar_t::Read(), lldb_private::ClassDescriptorV2::relative_list_entry_t::Read(), lldb_private::ClassDescriptorV2::relative_list_list_t::Read(), lldb_private::ClassDescriptorV2::method_t::Read(), DynamicLoaderMacOSXDYLD::ReadImageInfos(), lldb::SBTarget::ReadInstructions(), ReadJITEntry(), DynamicLoaderDarwinKernel::ReadKextSummaries(), DynamicLoaderMacOSXDYLD::ReadMachHeader(), lldb_private::IRMemoryMap::ReadMemory(), lldb_private::IRMemoryMap::ReadScalarFromMemory(), lldb_private::Value::ResizeData(), InterpreterStackFrame::ResolveConstant(), lldb_private::Value::ResolveValue(), lldb_private::Value::SetBytes(), lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::UpdateIfNeeded(), lldb_private::AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::UpdateISAToDescriptorMap(), lldb_private::AppleObjCRuntimeV2::DynamicClassInfoExtractor::UpdateISAToDescriptorMap(), lldb_private::AppleObjCRuntimeV1::UpdateISAToDescriptorMapIfNeeded(), lldb_private::Value::Value(), lldb_private::IRMemoryMap::WriteMemory(), and lldb_private::IRExecutionUnit::WriteNow().
|
inline |
Get a const pointer to the data.
Definition at line 57 of file DataBuffer.h.
|
inline |
Definition at line 110 of file DataBuffer.h.
References GetBytes(), and lldb_private::DataBuffer::GetByteSize().
|
inline |
Definition at line 59 of file DataBuffer.h.
|
inlineoverridevirtual |
Reimplemented from lldb_private::DataBuffer.
Reimplemented in lldb_private::DataBufferUnowned, lldb_private::DataBufferHeap, and lldb_private::WritableDataBufferLLVM.
Definition at line 117 of file DataBuffer.h.
References ID, and lldb_private::DataBuffer::isA().
Referenced by lldb_private::DataBufferUnowned::isA(), lldb_private::DataBufferHeap::isA(), and lldb_private::WritableDataBufferLLVM::isA().
|
static |