LLVM API Documentation

Public Member Functions | Friends
llvm::sys::MemoryBlock Class Reference

Memory block abstraction. More...

#include <Memory.h>

List of all members.

Public Member Functions

 MemoryBlock ()
 MemoryBlock (void *addr, size_t size)
void * base () const
size_t size () const

Friends

class Memory

Detailed Description

Memory block abstraction.

This class encapsulates the notion of a memory block which has an address and a size. It is used by the Memory class (a friend) as the result of various memory allocation operations.

See also:
Memory

Definition at line 29 of file Memory.h.


Constructor & Destructor Documentation

Definition at line 31 of file Memory.h.

llvm::sys::MemoryBlock::MemoryBlock ( void *  addr,
size_t  size 
) [inline]

Definition at line 32 of file Memory.h.


Member Function Documentation

void* llvm::sys::MemoryBlock::base ( ) const [inline]

Definition at line 33 of file Memory.h.

size_t llvm::sys::MemoryBlock::size ( ) const [inline]

Definition at line 34 of file Memory.h.


Friends And Related Function Documentation

friend class Memory [friend]

Definition at line 38 of file Memory.h.


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