class OwningMemoryBlock

Declaration

class OwningMemoryBlock { /* full declaration omitted */ };

Description

Owning version of MemoryBlock.

Declared at: llvm/include/llvm/Support/Memory.h:139

Method Overview

Methods

OwningMemoryBlock()

Declared at: llvm/include/llvm/Support/Memory.h:141

OwningMemoryBlock(llvm::sys::MemoryBlock M)

Declared at: llvm/include/llvm/Support/Memory.h:142

Parameters

llvm::sys::MemoryBlock M

OwningMemoryBlock(
    llvm::sys::OwningMemoryBlock&& Other)

Declared at: llvm/include/llvm/Support/Memory.h:143

Parameters

llvm::sys::OwningMemoryBlock&& Other

size_t allocatedSize() const

Description

The size as it was allocated. This is always greater or equal to the size that was originally requested.

Declared at: llvm/include/llvm/Support/Memory.h:158

void* base() const

Declared at: llvm/include/llvm/Support/Memory.h:155

llvm::sys::MemoryBlock getMemoryBlock() const

Declared at: llvm/include/llvm/Support/Memory.h:159

~OwningMemoryBlock()

Declared at: llvm/include/llvm/Support/Memory.h:152