llvm-project/libc/spec
Siva Chandra Reddy e5a743c4f6 Add implementations of POSIX mmap and munmap functions.
Summary:
A set of of linux x86_64 internal syscall helpers have also been added.

This change does not try to be perfect with respect to OS and machine
abstractions. A TODO note has been added at places where such abstractions
would help and make the arrangement scalable and cleaner. Addressing the
TODOs and building such abstractions is not in the scope of this change.
It is hoped that follow up changes cleaning up the problem areas and
addressing the TODOs will better illustrate the need for the changes.

This change also does not try to imitate mmap and munmap implementations
of other libcs. The idea here is to put in the bare minimum required to
obtain a working mmap and munmap, and then add the rest of the
functionality on an as needed basis.

Reviewers: abrachet, phosek, stanshebs, theraven

Subscribers: mgorny, MaskRay, jfb, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D71634
2019-12-23 14:04:02 -08:00
..
linux.td Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
posix.td Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
spec.td Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
stdc.td Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00