llvm-project/libc/config/linux
Siva Chandra Reddy dd33f9cdef [libc] Make the errno macro resolve to the thread local variable directly.
With modern architectures having a thread pointer and language supporting
thread locals, there is no reason to use a function intermediary to access
the thread local errno value.

The entrypoint corresponding to errno has been replaced with an object
library as there is no formal entrypoint for errno anymore.

Reviewed By: jeffbailey, michaelrj

Differential Revision: https://reviews.llvm.org/D120920
2022-03-04 17:29:49 +00:00
..
aarch64 [libc] Make the errno macro resolve to the thread local variable directly. 2022-03-04 17:29:49 +00:00
x86_64 [libc] Make the errno macro resolve to the thread local variable directly. 2022-03-04 17:29:49 +00:00
CMakeLists.txt [libc] Move the x86_64 syscall functions to OSUtil. 2021-12-22 21:48:57 +00:00
api.td [libc] Make the errno macro resolve to the thread local variable directly. 2022-03-04 17:29:49 +00:00
app.h Introduce getenv to LLVM libc 2022-02-14 10:10:13 -08:00
errno.h.in [libc][NFC] Make all top of file comments consistent. 2020-04-08 10:18:37 -07:00
platform_defs.h.inc [libc] Fix typo in platform_defs.h.inc 2020-09-15 14:25:01 +00:00
signal.h.in [libc][NFC] Make all top of file comments consistent. 2020-04-08 10:18:37 -07:00
syscall_numbers.h.inc Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00