[all-commits] [llvm/llvm-project] 3e1986: [libc][Obvious] Add "__" prefix to sched_getcpucou...

Siva Chandra via All-commits all-commits at lists.llvm.org
Wed Oct 5 11:01:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e1986682fd26df82268c179183e9ae536b84578
      https://github.com/llvm/llvm-project/commit/3e1986682fd26df82268c179183e9ae536b84578
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/llvm_libc_ext.td
    M libc/src/sched/CMakeLists.txt
    M libc/src/sched/linux/CMakeLists.txt
    M libc/test/src/sched/CMakeLists.txt

  Log Message:
  -----------
  [libc][Obvious] Add "__" prefix to sched_getcpucount in the spec and elsewhere.

Without this fix, the declaration in sched.h will not have the "__" prefix and
will cause a compile failure.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D135286




More information about the All-commits mailing list