enum Memory::ProtectionFlags

Declared at: llvm/include/llvm/Support/Memory.h:55

Enumerators

NameValueComment
MF_READ16777216
MF_WRITE33554432
MF_EXEC67108864
MF_RWE_MASK117440512
MF_HUGE_HINT1The \p MF_HUGE_HINT flag is used to indicate that the request for a memory block should be satisfied with large pages if possible. This is only a hint and small pages will be used as fallback.The presence or absence of this flag in the returned memory block is (at least currently) *not* a reliable indicator that the memory block will use or will not use large pages. On some systems a request without this flag can be backed by large pages without this flag being set, and on some other systems a request with this flag can fallback to small pages without this flag being cleared.