SSiva Chandra Reddy[libc] Make the errno macro resolve to the thread local variable directly.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[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 | 4 年前 | |
[libc] Add implementations of the POSIX creat and openat functions. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D118435 | 4 年前 | |
[libc] Add implementations of the POSIX creat and openat functions. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D118435 | 4 年前 | |
[libc] Add POSIX close, fsync, open, read and write functions. They are implemented as simple syscall wrappers. The file creation macros have been put in a header file as a temporary solution until we have a cleaner approach to listing platform relevant macros. Reviewed By: abrachet Differential Revision: https://reviews.llvm.org/D118396 | 4 年前 | |
[libc] Add implementations of the POSIX creat and openat functions. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D118435 | 4 年前 |