[PATCH] D116366: [Support] Add MemoryBuffer::dontNeedIfMmap
David Tenty via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 31 09:15:41 PST 2021
daltenty added a comment.
> Unfortunately this change broke AIX build since MADV_DONTNEED is not available. Is there any other OS without MADV_DONTNEED? Can this be reverted until we find alternative?
Maybe we can swap to `posix_madvise` if the semantics match what we need here? That should be available on AIX.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116366/new/
https://reviews.llvm.org/D116366
More information about the llvm-commits
mailing list