LLVM API Documentation
Memory block abstraction. More...
#include <Memory.h>
Public Member Functions | |
| MemoryBlock () | |
| MemoryBlock (void *addr, size_t size) | |
| void * | base () const |
| size_t | size () const |
Friends | |
| class | Memory |
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.
| llvm::sys::MemoryBlock::MemoryBlock | ( | ) | [inline] |
| llvm::sys::MemoryBlock::MemoryBlock | ( | void * | addr, |
| size_t | size | ||
| ) | [inline] |
| void* llvm::sys::MemoryBlock::base | ( | ) | const [inline] |
| size_t llvm::sys::MemoryBlock::size | ( | ) | const [inline] |