[PATCH] D58718: [Memory] Add basic support for large/huge memory pages
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 27 11:26:54 PST 2019
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: lib/Support/Unix/Memory.inc:48
int getPosixProtectionFlags(unsigned Flags) {
- switch (Flags) {
+ switch (Flags & llvm::sys::Memory::MF_RWE_MASK) {
case llvm::sys::Memory::MF_READ:
----------------
At the call site, we ought to add `// FIXME: Handle huge page requests.`.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58718/new/
https://reviews.llvm.org/D58718
More information about the llvm-commits
mailing list