-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[libc] add linux mman extension remap_file_pages
#110122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@llvm/issue-subscribers-libc Author: Schrodinger ZHU Yifan (SchrodingerZhu)
We need to create a `remap_file_pages` wrapper for linux targets, see https://www.man7.org/linux/man-pages/man2/remap_file_pages.2.html.
This requires:
Misc:
If you use vscode, sample settings are as the following (optional settings are useful in speeding up the compilation):
|
Hi! This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:
If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below. |
@llvm/issue-subscribers-good-first-issue Author: Schrodinger ZHU Yifan (SchrodingerZhu)
We need to create a `remap_file_pages` wrapper for linux targets, see https://www.man7.org/linux/man-pages/man2/remap_file_pages.2.html.
This requires:
Misc:
If you use vscode, sample settings are as the following (optional settings are useful in speeding up the compilation):
|
You can Assign this one to me 👍 |
@SchrodingerZhu I created the changes , but I'm a bit lost in Unit Testing at the moment.
|
|
Fixes #110122 - Create remap_file_pages.h/.cpp wrapper for the linux sys call. - Add UnitTests for remap_file_pages - Add function to libc/spec/linux.td - Add Function spec to mman.yaml
Fixes llvm#110122 - Create remap_file_pages.h/.cpp wrapper for the linux sys call. - Add UnitTests for remap_file_pages - Add function to libc/spec/linux.td - Add Function spec to mman.yaml
We need to create a
remap_file_pages
wrapper for linux targets, see https://www.man7.org/linux/man-pages/man2/remap_file_pages.2.html.This requires:
libc/src/sys/mman/mmap.h
libc/src/sys/mman/CMakeLists.txt
accordinglylibc/src/sys/mman/linux/mmap.cpp
libc/src/sys/mman/linux/CMakeLists.txt
accordinglyfunctions
section inlibc/newhdrgen/yaml/sys/mman.yaml
SysMMan
section inlibc/spec/linux.td
libc/test/src/sys/mman/linux/mmap_test.cpp
libc/test/src/sys/mman/linux/CMakeLists.txt
accordinglyMisc:
If you use vscode, sample settings are as the following (optional settings are useful in speeding up the compilation):
The text was updated successfully, but these errors were encountered: