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][NFC] Move sys/mman entrypoints to the default build configs. Specifically, mmap and munmap have been moved to the default build list of entrypoints. To support this, certain deps and includes have been adjusted. The use of errno in some cases has been updated. | 4 年前 |