LLDB mainline
|
#include <DataBufferLLVM.h>
Public Member Functions | |
~WritableDataBufferLLVM () override | |
const uint8_t * | GetBytesImpl () const override |
} | |
lldb::offset_t | GetByteSize () const override |
Get the number of bytes in the data buffer. | |
bool | isA (const void *ClassID) const override |
WritableDataBufferLLVM (std::unique_ptr< llvm::WritableMemoryBuffer > Buffer) | |
} | |
Public Member Functions inherited from lldb_private::WritableDataBuffer | |
~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::WritableDataBuffer | |
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::WritableDataBuffer | |
static char | ID |
LLVM RTTI support. | |
Static Public Attributes inherited from lldb_private::DataBuffer | |
static char | ID |
LLVM RTTI support. | |
Protected Attributes | |
std::unique_ptr< llvm::WritableMemoryBuffer > | Buffer |
Additional Inherited Members | |
virtual const uint8_t * | GetBytesImpl () const =0 |
} | |
Definition at line 53 of file DataBufferLLVM.h.
|
overridedefault |
|
explicit |
}
Construct a DataBufferLLVM from Buffer
. Buffer
must be a valid pointer.
Definition at line 33 of file DataBufferLLVM.cpp.
References Buffer.
|
inlinestatic |
Definition at line 66 of file DataBufferLLVM.h.
References ID, and lldb_private::DataBuffer::isA().
|
overridevirtual |
}
Get a const pointer to the data.
Implements lldb_private::DataBuffer.
Definition at line 42 of file DataBufferLLVM.cpp.
References Buffer.
|
overridevirtual |
Get the number of bytes in the data buffer.
Implements lldb_private::DataBuffer.
Definition at line 46 of file DataBufferLLVM.cpp.
References Buffer.
|
inlineoverridevirtual |
Reimplemented from lldb_private::WritableDataBuffer.
Definition at line 63 of file DataBufferLLVM.h.
References ID, and lldb_private::WritableDataBuffer::isA().
|
protected |
Definition at line 77 of file DataBufferLLVM.h.
Referenced by GetBytesImpl(), GetByteSize(), and WritableDataBufferLLVM().
|
static |