[all-commits] [llvm/llvm-project] 0b790a: [libc] add CPU_COUNT macro and backing function
michaelrj-google via All-commits
all-commits at lists.llvm.org
Tue Oct 4 15:23:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b790afb06475d7c5f9b62e5bab186c01fda4ff1
https://github.com/llvm/llvm-project/commit/0b790afb06475d7c5f9b62e5bab186c01fda4ff1
Author: Michael Jones <michaelrj at google.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/linux/x86_64/headers.txt
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
M libc/include/llvm-libc-macros/linux/CMakeLists.txt
A libc/include/llvm-libc-macros/linux/sched-macros.h
A libc/include/llvm-libc-macros/sched-macros.h
M libc/include/sched.h.def
M libc/spec/gnu_ext.td
M libc/spec/llvm_libc_ext.td
M libc/src/sched/CMakeLists.txt
M libc/src/sched/linux/CMakeLists.txt
A libc/src/sched/linux/sched_getcpucount.cpp
A libc/src/sched/sched_getcpucount.h
M libc/test/src/sched/CMakeLists.txt
A libc/test/src/sched/cpu_count_test.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list