llvm-project/libc
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
..
cmake/modules Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
config Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
docs [libc] Add a TableGen based header generator. 2019-11-22 13:02:24 -08:00
include Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
lib Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
spec Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
src Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
utils [libc] Add a TableGen based header generator. 2019-11-22 13:02:24 -08:00
CMakeLists.txt Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
LICENSE.txt
README.txt

README.txt

LLVM libc
=========

This directory and its subdirectories contain source code for llvm-libc,
a retargetable implementation of the C standard library.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.