Open SchrodingerZhu opened 1 month ago
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:
test/
create fine-grained testing targets, so you can e.g. use make check-clang-ast
to only run Clang's AST tests.git clang-format HEAD~1
to format your changes.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)
@SoftJing1 wanted to have a try
@llvm/issue-subscribers-libc
Author: Schrodinger ZHU Yifan (SchrodingerZhu)
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 remap_file_pages
if you want to have a try (https://github.com/llvm/llvm-project/issues/110122). It should be following largely the same instructions as above.
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.
@WilliamFreedman we can't assign users who aren't members of the llvm github org. It sounds like @SoftJing1 is looking into this?
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?
@SoftJing1 are you still working on this?
Yes
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):