#include "lldb/Utility/DataBufferLLVM.h"
#include "llvm/Support/MemoryBuffer.h"
#include <cassert>
usingnamespacelldb_private;
DataBufferLLVM::DataBufferLLVM(std::unique_ptr<llvm::MemoryBuffer> MemBuffer)
: … { … }
DataBufferLLVM::~DataBufferLLVM() = default;
const uint8_t *DataBufferLLVM::GetBytesImpl() const { … }
lldb::offset_t DataBufferLLVM::GetByteSize() const { … }
WritableDataBufferLLVM::WritableDataBufferLLVM(
std::unique_ptr<llvm::WritableMemoryBuffer> MemBuffer)
: … { … }
WritableDataBufferLLVM::~WritableDataBufferLLVM() = default;
const uint8_t *WritableDataBufferLLVM::GetBytesImpl() const { … }
lldb::offset_t WritableDataBufferLLVM::GetByteSize() const { … }
char DataBufferLLVM::ID;
char WritableDataBufferLLVM::ID;