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

#include <DataBufferLLVM.h>

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

Public Member Functions

 ~WritableDataBufferLLVM () override
 
const uint8_t * GetBytesImpl () const override
 
lldb::offset_t GetByteSize () const override
 
bool isA (const void *ClassID) const override
 
 WritableDataBufferLLVM (std::unique_ptr< llvm::WritableMemoryBuffer > 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::WritableMemoryBuffer > Buffer
 

Detailed Description

Definition at line 53 of file DataBufferLLVM.h.

Constructor & Destructor Documentation

◆ ~WritableDataBufferLLVM()

WritableDataBufferLLVM::~WritableDataBufferLLVM ( )
overridedefault

◆ WritableDataBufferLLVM()

WritableDataBufferLLVM::WritableDataBufferLLVM ( std::unique_ptr< llvm::WritableMemoryBuffer >  Buffer)
explicit

}

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

Definition at line 33 of file DataBufferLLVM.cpp.

References Buffer.

Member Function Documentation

◆ classof()

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

Definition at line 66 of file DataBufferLLVM.h.

References ID.

◆ GetBytesImpl()

const uint8_t * WritableDataBufferLLVM::GetBytesImpl ( ) const
override

Definition at line 42 of file DataBufferLLVM.cpp.

References Buffer.

◆ GetByteSize()

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

Definition at line 46 of file DataBufferLLVM.cpp.

References Buffer.

◆ isA()

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

Definition at line 63 of file DataBufferLLVM.h.

References ID.

Member Data Documentation

◆ Buffer

std::unique_ptr<llvm::WritableMemoryBuffer> lldb_private::WritableDataBufferLLVM::Buffer
protected

Definition at line 77 of file DataBufferLLVM.h.

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

◆ ID

char WritableDataBufferLLVM::ID
static

LLVM RTTI support.

{

Definition at line 62 of file DataBufferLLVM.h.

Referenced by classof(), and isA().


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