[all-commits] [llvm/llvm-project] e0b702: [libc] Fix `nanosleep` definition in the posix spe...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Sep 29 15:35:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e0b702ffc24b15b2ffb91cf4e7199f8fba80088c
https://github.com/llvm/llvm-project/commit/e0b702ffc24b15b2ffb91cf4e7199f8fba80088c
Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths:
M clang/lib/Headers/llvm_libc_wrappers/time.h
M libc/spec/posix.td
Log Message:
-----------
[libc] Fix `nanosleep` definition in the posix spec (#67855)
Summary:
The POSIX standard expects the first argument to this function to be
constant, e.g. https://man7.org/linux/man-pages/man2/nanosleep.2.html.
This fixes that problem and also corrects an obvious problem with
enabling this for offloading.
More information about the All-commits
mailing list