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

#include <DataBufferLLVM.h>

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

Public Member Functions

 ~DataBufferLLVM () override
 
const uint8_t * GetBytesImpl () const override
 
lldb::offset_t GetByteSize () const override
 
bool isA (const void *ClassID) const override
 
 DataBufferLLVM (std::unique_ptr< llvm::MemoryBuffer > Buffer)
 } More...
 

Static Public Member Functions

static bool classof (const DataBuffer *data_buffer)
 

Static Public Attributes

static char ID
 LLVM RTTI support. More...
 

Protected Attributes

std::unique_ptr< llvm::MemoryBuffer > Buffer
 

Detailed Description

Definition at line 27 of file DataBufferLLVM.h.

Constructor & Destructor Documentation

◆ ~DataBufferLLVM()

DataBufferLLVM::~DataBufferLLVM ( )
overridedefault

◆ DataBufferLLVM()

DataBufferLLVM::DataBufferLLVM ( std::unique_ptr< llvm::MemoryBuffer >  Buffer)
explicit

}

Construct a DataBufferLLVM from Buffer. Buffer must be a valid pointer.

Definition at line 17 of file DataBufferLLVM.cpp.

References Buffer.

Member Function Documentation

◆ classof()

static bool lldb_private::DataBufferLLVM::classof ( const DataBuffer data_buffer)
inlinestatic

Definition at line 40 of file DataBufferLLVM.h.

References ID.

◆ GetBytesImpl()

const uint8_t * DataBufferLLVM::GetBytesImpl ( ) const
override

Definition at line 25 of file DataBufferLLVM.cpp.

References Buffer.

◆ GetByteSize()

lldb::offset_t DataBufferLLVM::GetByteSize ( ) const
override

Definition at line 29 of file DataBufferLLVM.cpp.

References Buffer.

◆ isA()

bool lldb_private::DataBufferLLVM::isA ( const void *  ClassID) const
inlineoverride

Definition at line 37 of file DataBufferLLVM.h.

References ID.

Member Data Documentation

◆ Buffer

std::unique_ptr<llvm::MemoryBuffer> lldb_private::DataBufferLLVM::Buffer
protected

Definition at line 50 of file DataBufferLLVM.h.

Referenced by DataBufferLLVM(), GetBytesImpl(), and GetByteSize().

◆ ID

char DataBufferLLVM::ID
static

LLVM RTTI support.

{

Definition at line 36 of file DataBufferLLVM.h.

Referenced by classof(), and isA().


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