[all-commits] [llvm/llvm-project] ba38e5: [libc] Enable setitimer and getitimer functions on...

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Fri May 16 14:55:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba38e56c989af932eaa7b287a8e6197abf693e57
      https://github.com/llvm/llvm-project/commit/ba38e56c989af932eaa7b287a8e6197abf693e57
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M libc/config/linux/riscv/entrypoints.txt
    M libc/src/sys/time/linux/getitimer.cpp
    M libc/src/sys/time/linux/setitimer.cpp

  Log Message:
  -----------
  [libc] Enable setitimer and getitimer functions on riscv (#139182)

These functions don't have a _time64 variant, so we can't use time_t
directly (since our time_t is a uint64_t). The workaround is to use
longs when doing the syscall and write back when necessary.



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