[PATCH] D116366: [Support] Add MemoryBuffer::dontNeedIfMmap

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 31 10:15:07 PST 2021


aganea added a subscriber: simon_tatham.
aganea added a comment.

@zibi @daltenty Is `madvise` not available on AIX, or is it a specific version of the OS that doesn't have it? The doc suggests is available: https://www.ibm.com/docs/en/aix/7.1?topic=m-madvise-subroutine
Is that specific machine missing a header? Perhaps `HAVE_SYS_MMAN_H` isn't defined? @simon_tatham

Unless any of you have a way to quickly test a solution, short term we maybe just `#ifndef _AIX` the call to `madvice`?


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