Add mmap and munmap to the linux aarch64 entrypoint list as the first
user of these syscalls.
Details
Details
- Reviewers
michaelrj - Commits
- rG371779fac193: [libc] Add linux aarch64 syscall implementation.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libc/src/__support/OSUtil/linux/aarch64/syscall.h | ||
---|---|---|
16 | I think register is (or soon to be) deprecated and reserved, and my understanding is that most compilers completely ignore it anyway. Should it be omitted here? |
libc/src/__support/OSUtil/linux/aarch64/syscall.h | ||
---|---|---|
16 | Oh, I didn't know that. But, when I try, I get warnings like this: warning: ignored asm label 'r10' on automatic variable long r10 __asm__("r10") = 123; The allocation is not in the register and the syscalls end up with wrong number of args. |
I think register is (or soon to be) deprecated and reserved, and my understanding is that most compilers completely ignore it anyway. Should it be omitted here?