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

#include <DataBufferLLVM.h>

Inheritance diagram for lldb_private::DataBufferLLVM:
Inheritance graph
Collaboration diagram for lldb_private::DataBufferLLVM:
Collaboration graph

Public Member Functions

 ~DataBufferLLVM () override
uint8_t * GetBytes () override
const uint8_t * GetBytes () const override
lldb::offset_t GetByteSize () const override
char * GetChars ()

Private Member Functions

 DataBufferLLVM (std::unique_ptr< llvm::WritableMemoryBuffer > Buffer)
 Construct a DataBufferLLVM from Buffer. More...

Private Attributes

friend FileSystem
std::unique_ptr< llvm::WritableMemoryBuffer > Buffer

Detailed Description

Definition at line 26 of file DataBufferLLVM.h.

Constructor & Destructor Documentation

◆ ~DataBufferLLVM()

DataBufferLLVM::~DataBufferLLVM ( )

◆ DataBufferLLVM()

DataBufferLLVM::DataBufferLLVM ( std::unique_ptr< llvm::WritableMemoryBuffer >  Buffer)

Construct a DataBufferLLVM from Buffer.

Buffer must be a valid pointer.

Definition at line 17 of file DataBufferLLVM.cpp.

References Buffer.

Member Function Documentation

◆ GetBytes() [1/2]

const uint8_t* lldb_private::DataBufferLLVM::GetBytes ( ) const

◆ GetBytes() [2/2]

const uint8_t * DataBufferLLVM::GetBytes ( )

Definition at line 26 of file DataBufferLLVM.cpp.

References Buffer.

Referenced by GetChars().

◆ GetByteSize()

lldb::offset_t DataBufferLLVM::GetByteSize ( ) const

Definition at line 34 of file DataBufferLLVM.cpp.

References Buffer.

◆ GetChars()

char* lldb_private::DataBufferLLVM::GetChars ( )

Definition at line 34 of file DataBufferLLVM.h.

References GetBytes().

Member Data Documentation

◆ Buffer

std::unique_ptr<llvm::WritableMemoryBuffer> lldb_private::DataBufferLLVM::Buffer

Definition at line 42 of file DataBufferLLVM.h.

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

◆ FileSystem

friend lldb_private::DataBufferLLVM::FileSystem

Definition at line 37 of file DataBufferLLVM.h.

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