LLVM: llvm::sys::MemoryBlock Class Reference (original) (raw)
This class encapsulates the notion of a memory block which has an address and a size. More...
#include "[llvm/Support/Memory.h](Memory%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| MemoryBlock () | |
| MemoryBlock (void *addr, size_t allocatedSize) | |
| void * | base () const |
| size_t | allocatedSize () const |
| The size as it was allocated. |
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 Memory block abstraction.
Definition at line 33 of file Memory.h.
| llvm::sys::MemoryBlock::MemoryBlock ( ) | inline |
|---|
◆ MemoryBlock() [2/2]
| llvm::sys::MemoryBlock::MemoryBlock ( void * addr, size_t allocatedSize ) | inline |
|---|
◆ allocatedSize()
| size_t llvm::sys::MemoryBlock::allocatedSize ( ) const | inline |
|---|
◆ base()
| void * llvm::sys::MemoryBlock::base ( ) const | inline |
|---|
◆ Memory
The documentation for this class was generated from the following file:
- include/llvm/Support/Memory.h