Nick Desaulniers
cdbec7baf1
[libc] fix up the use of angle includes in include/ ( #86027 )
...
Performed en-masse via:
$ grep -rn "#include <ll" libc/include -l | \
xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/'
$ grep -rn "#include <__" libc/include -l | \
xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/'
Link: #83463
Link: #83210
2024-03-22 08:24:08 -07:00
Joseph Huber
69c0b2febe
[libc][NFC] Remove all trailing spaces from libc ( #82831 )
...
Summary:
There are a lot of random training spaces on various lines. This patch
just got rid of all of them with `sed 's/\ \+$//g'.
2024-02-23 16:34:00 -06:00
Michael Jones
0b790afb06
[libc] add CPU_COUNT macro and backing function
...
Add the macro CPU_COUNT as well as a backing function to implement the
functionality.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D135179
2022-10-04 15:22:55 -07:00
Siva Chandra Reddy
545b954251
[libc] Add GNU extension functions sched_getaffinity and sched_setaffinity.
...
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D134858
2022-09-29 20:31:46 +00:00