[libc-commits] [PATCH] D135179: [libc] add CPU_COUNT macro and backing function

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Oct 4 14:01:17 PDT 2022


michaelrj updated this revision to Diff 465149.
michaelrj marked 2 inline comments as done.
michaelrj added a comment.

move function definition into llvm_libc_ext.td
rename function to __sched_getcpucount


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135179/new/

https://reviews.llvm.org/D135179

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/config/linux/x86_64/headers.txt
  libc/include/CMakeLists.txt
  libc/include/llvm-libc-macros/CMakeLists.txt
  libc/include/llvm-libc-macros/linux/CMakeLists.txt
  libc/include/llvm-libc-macros/linux/sched-macros.h
  libc/include/llvm-libc-macros/sched-macros.h
  libc/include/sched.h.def
  libc/spec/gnu_ext.td
  libc/spec/llvm_libc_ext.td
  libc/src/sched/CMakeLists.txt
  libc/src/sched/linux/CMakeLists.txt
  libc/src/sched/linux/sched_getcpucount.cpp
  libc/src/sched/sched_getcpucount.h
  libc/test/src/sched/CMakeLists.txt
  libc/test/src/sched/cpu_count_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135179.465149.patch
Type: text/x-patch
Size: 10191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221004/cf33f25f/attachment-0001.bin>


More information about the libc-commits mailing list