llvm-project/libc/include
Siva Chandra Reddy 215c9fa4de [libc] Re-enable functions from signal.h and re-enable abort.
They were disabled because we were including linux/signal.h from our
signal.h. Linux's signal.h is not designed to be included from user
programs as it causes a lot of non-standard name pollution. Also, it is
not self-contained. This change defines types and macros relevant for
signal related syscalls within libc's headers and removes inclusion of
Linux headers.

This patch enables the funtions only for x86_64. They will be enabled
for aarch64 also in a follow up patch after testing.

Reviewed By: abrachet, lntue

Differential Revision: https://reviews.llvm.org/D134567
2022-09-30 07:31:50 +00:00
..
llvm-libc-macros [libc] Re-enable functions from signal.h and re-enable abort. 2022-09-30 07:31:50 +00:00
llvm-libc-types [libc] Re-enable functions from signal.h and re-enable abort. 2022-09-30 07:31:50 +00:00
sys [libc] move sys/mman macros to /include 2022-09-23 09:36:34 -07:00
CMakeLists.txt [libc] Re-enable functions from signal.h and re-enable abort. 2022-09-30 07:31:50 +00:00
__llvm-libc-common.h [libc] Make the errno macro resolve to the thread local variable directly. 2022-03-04 17:29:49 +00:00
assert.h.def
ctype.h.def
dirent.h.def [libc] Add dirent.h functions opendir, readdir, closedir and dirfd. 2022-07-25 20:23:25 +00:00
errno.h.def
fcntl.h.def [libc] Add POSIX close, fsync, open, read and write functions. 2022-01-27 20:32:02 +00:00
fenv.h.def [libc] Add simple x86_64 floating point exception and rounding mode support. 2020-12-03 12:55:12 -08:00
inttypes.h.def [libc] add inttypes header 2021-08-26 18:04:21 +00:00
math.h.def
pthread.h.def [libc] Add implementation of pthread_once. 2022-09-28 06:54:48 +00:00
sched.h.def [libc] Add GNU extension functions sched_getaffinity and sched_setaffinity. 2022-09-29 20:31:46 +00:00
signal.h.def [libc] Re-enable functions from signal.h and re-enable abort. 2022-09-30 07:31:50 +00:00
stdio.h.def [libc] Add implementation of POSIX lseek function. 2022-03-15 16:24:48 +00:00
stdlib.h.def
string.h.def
threads.h.def [libc] Move the remaining public types to their own type headers. 2022-01-20 23:04:26 +00:00
time.h.def [libc] add clock_gettime 2022-09-29 10:23:21 -07:00
unistd.h.def [libc] Add implementation of POSIX function "access". 2022-09-14 07:44:47 +00:00