[all-commits] [llvm/llvm-project] 66955a: [libc][sched] Fix CPU_SET and CPU_ISSET macros (#1...

Petter Berntsson via All-commits all-commits at lists.llvm.org
Thu Apr 30 08:55:18 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66955aa8003468bdfec098a512fb0df30ce66dd8
      https://github.com/llvm/llvm-project/commit/66955aa8003468bdfec098a512fb0df30ce66dd8
  Author: Petter Berntsson <petter.berntsson at arm.com>
  Date:   2026-04-30 (Thu, 30 Apr 2026)

  Changed paths:
    M libc/include/llvm-libc-macros/linux/sched-macros.h
    M libc/include/sched.yaml
    M libc/src/sched/linux/sched_getcpuisset.cpp
    M libc/src/sched/sched_getcpuisset.h
    M libc/test/include/CMakeLists.txt
    A libc/test/include/sched_test.cpp
    M libc/test/src/sched/CMakeLists.txt
    M libc/test/src/sched/cpu_count_test.cpp

  Log Message:
  -----------
  [libc][sched] Fix CPU_SET and CPU_ISSET macros (#194830)

Fix the public CPU_SET and CPU_ISSET macros to match the expected
two-argument forms and to use cpu_set_t instead of the misspelled
cpt_set_t.

Also declare the helper functions used by the CPU set macros in the
generated sched.h header, and add regression coverage for the CPU set
macro family.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list