[libc] Make the errno macro resolve to the thread local variable directly.With modern architectures having a thread pointer and language supportingthread locals, there is no reason to use a functi
[libc] Make the errno macro resolve to the thread local variable directly.With modern architectures having a thread pointer and language supportingthread locals, there is no reason to use a function intermediary to accessthe thread local errno value.The entrypoint corresponding to errno has been replaced with an objectlibrary as there is no formal entrypoint for errno anymore.Reviewed By: jeffbailey, michaelrjDifferential Revision: https://reviews.llvm.org/D120920
show more ...
[libc][Obvious] Fix typo in mkdir and mkdirat implementations.Reviewed By: lntueDifferential Revision: https://reviews.llvm.org/D119265
[libc] Add a few missing deps, includes, and fix a few typos.This allows us to enable rmdir, mkdir, mkdirat, unlink and unlinkat foraarch64.
[libc] Add implementations of POSIX mkdir, mkdirat, rmdir, unlink and unlinkat.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D118641