[libc-commits] [PATCH] D134498: [libc] add madvise and posix_madvise

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Sep 22 15:55:10 PDT 2022


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

Add the madvise and posix_madvise syscall wrappers and tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134498

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/posix.td
  libc/src/sys/mman/CMakeLists.txt
  libc/src/sys/mman/linux/CMakeLists.txt
  libc/src/sys/mman/linux/madvise.cpp
  libc/src/sys/mman/linux/posix_madvise.cpp
  libc/src/sys/mman/madvise.h
  libc/src/sys/mman/posix_madvise.h
  libc/test/src/sys/mman/linux/CMakeLists.txt
  libc/test/src/sys/mman/linux/madvise_test.cpp
  libc/test/src/sys/mman/linux/posix_madvise_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134498.462345.patch
Type: text/x-patch
Size: 12041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220922/3da91122/attachment-0001.bin>


More information about the libc-commits mailing list