-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[libc] add mremap
syscall wrapper
#110119
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
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 `mremap` wrapper for linux targets, see https://man7.org/linux/man-pages/man2/mremap.2.html.
This requires:
Misc:
|
@SoftJing1 wanted to have a try |
@llvm/issue-subscribers-libc Author: Schrodinger ZHU Yifan (SchrodingerZhu)
We need to create a `mremap` wrapper for linux targets, see https://man7.org/linux/man-pages/man2/mremap.2.html.
This requires:
Misc:
If you use vscode, sample settings are as the following (optional settings are useful in speeding up the compilation):
|
I can take a look at this if possible 👍 |
hi @AlyElashram, @SoftJing1 is currently looking into this. I will let you know if anything changed. That is being said, I have opened another issue for |
Looks like nobody's currently assigned, I'd love to take a look at it if that's right. |
@WilliamFreedman we can't assign users who aren't members of the llvm github org. It sounds like @SoftJing1 is looking into this? |
@WilliamFreedman @nickdesaulniers Yes I am currently working on this, and hopefully will get it done this week. |
On the side note, I think we can assign it if the users comment on the issue. Members of llvm github org will have commit rights to the repo. |
@SoftJing1 are you still working on this? |
Yes |
Hi @SoftJing1 are you still working on this? I'd like to do it if not |
Ah, sorry. It is my fault. The PR is already merged but I forget to close the issue. @whiteio thanks for your interest in contributing to LLVM-libc. We do have a lot of other syscall wrappers or libc functions unimplemented but I currently do not have the time to create more good first issues. You are welcome to join the discord to ask whether there are other similar contribution opportunities. |
Uh oh!
There was an error while loading. Please reload this page.
We need to create a
mremap
wrapper for linux targets, see https://man7.org/linux/man-pages/man2/mremap.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: