|
LLVM
8.0.1
|
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 size) | |
| void * | base () const |
| size_t | size () const |
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 31 of file Memory.h.
Referenced by llvm::sys::OwningMemoryBlock::operator=(), and llvm::sys::OwningMemoryBlock::OwningMemoryBlock().
|
inline |
|
inline |
Definition at line 33 of file Memory.h.
Referenced by llvm::SectionMemoryManager::allocateCodeSection(), llvm::SectionMemoryManager::invalidateInstructionCache(), and llvm::trimBlockToPageSize().
|
inline |
Definition at line 34 of file Memory.h.
Referenced by llvm::SectionMemoryManager::allocateCodeSection(), llvm::SectionMemoryManager::invalidateInstructionCache(), and llvm::trimBlockToPageSize().
1.8.13