|
LLDB mainline
|
#include <DataBufferLLVM.h>
Public Member Functions | |
| ~DataBufferLLVM () 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 |
| DataBufferLLVM (std::unique_ptr< llvm::MemoryBuffer > Buffer) | |
| } | |
| Public Member Functions inherited from lldb_private::DataBuffer | |
| virtual | ~DataBuffer ()=default |
| const uint8_t * | GetBytes () const |
| Get a const pointer to the data. | |
| llvm::ArrayRef< uint8_t > | GetData () 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. | |
Protected Attributes | |
| std::unique_ptr< llvm::MemoryBuffer > | Buffer |
Definition at line 27 of file DataBufferLLVM.h.
|
overridedefault |
|
explicit |
}
Construct a DataBufferLLVM from Buffer. Buffer must be a valid pointer.
Definition at line 17 of file DataBufferLLVM.cpp.
References Buffer.
|
inlinestatic |
Definition at line 40 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 25 of file DataBufferLLVM.cpp.
References Buffer.
|
overridevirtual |
Get the number of bytes in the data buffer.
Implements lldb_private::DataBuffer.
Definition at line 29 of file DataBufferLLVM.cpp.
References Buffer.
|
inlineoverridevirtual |
Reimplemented from lldb_private::DataBuffer.
Definition at line 37 of file DataBufferLLVM.h.
References ID, and lldb_private::DataBuffer::isA().
|
protected |
Definition at line 50 of file DataBufferLLVM.h.
Referenced by DataBufferLLVM(), GetBytesImpl(), and GetByteSize().
|
static |