llvm-project/libc/include
Alex Brachet b47c9f535c [libc] Add initial assert definition
Summary: This patch adds a temporary `__assert_fail` and `assert` definition to make it available to internal llvm libc code. `__assert_fail` writes to fd 2 directly instead of `stderr`, using SYS_write. I have not put it in its own linux directory because this is temporary and it should be using stdio's api in the future. It does not currently print out the line number (although we could do that by stringifying `__LINE__` if reviewers wish).

Reviewers: sivachandra, gchatelet, PaulkaToast

Reviewed By: sivachandra

Subscribers: mgorny, MaskRay, tschuett, libc-commits

Differential Revision: https://reviews.llvm.org/D75420
2020-03-11 23:45:58 -04:00
..
sys Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
CMakeLists.txt [libc] Add initial assert definition 2020-03-11 23:45:58 -04:00
__llvm-libc-common.h [libc] Create abort and _Exit 2020-03-05 14:21:18 -05:00
__posix-types.h Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
assert.h.def [libc] Add initial assert definition 2020-03-11 23:45:58 -04:00
ctype.h
errno.h.def [libc] Add implementation of errno and define the other macros of errno.h. 2019-12-09 13:34:08 -08:00
math.h
signal.h.def [libc] Add sigprocmask 2020-03-02 03:47:21 -05:00
stdlib.h.def [libc] Create abort and _Exit 2020-03-05 14:21:18 -05:00
string.h.def
threads.h.def [libc] Take 2: Add linux implementations of thrd_create and thrd_join functions. 2020-03-09 21:28:11 -07:00