Add the madvise and posix_madvise syscall wrappers and tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D134498
[libc] add madvise and posix_madvise ClosedPublic Authored by michaelrj on Sep 22 2022, 3:55 PM.
Details
Summary Add the madvise and posix_madvise syscall wrappers and tests.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptSep 22 2022, 3:55 PM sivachandra added inline comments. This revision is now accepted and ready to land.Sep 22 2022, 10:07 PM Closed by commit rG85c70da73205: [libc] add madvise and posix_madvise (authored by michaelrj). · Explain WhySep 23 2022, 9:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 462527 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
|
To be safe, may be we should: