| LLVM 22.0.0git
    | 
This class encapsulates the notion of a memory block which has an address and a size. More...
#include "llvm/Support/Memory.h"
| Public Member Functions | |
| MemoryBlock () | |
| MemoryBlock (void *addr, size_t allocatedSize) | |
| void * | base () const | 
| size_t | allocatedSize () const | 
| The size as it was allocated. | |
| Friends | |
| class | Memory | 
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.
| 
 | inline | 
Definition at line 36 of file Memory.h.
References allocatedSize().
| 
 | inline | 
The size as it was allocated.
This is always greater or equal to the size that was originally requested.
Definition at line 41 of file Memory.h.
Referenced by llvm::jitlink::InProcessMemoryManager::allocate(), MemoryBlock(), llvm::sys::operator<<(), and llvm::trimBlockToPageSize().
| 
 | inline | 
Definition at line 38 of file Memory.h.
Referenced by llvm::jitlink::InProcessMemoryManager::allocate(), llvm::sys::operator<<(), and llvm::trimBlockToPageSize().
| 
 | friend |