[libc-commits] [libc] [libc] Implement `timespec_get` (PR #116102)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Fri Nov 22 13:28:19 PST 2024
================
@@ -1676,6 +1676,14 @@ def StdC : StandardSpec<"stdc"> {
RetValSpec<TimeTType>,
[ArgSpec<TimeTTypePtr>]
>,
+ FunctionSpec<
+ "timespec_get",
+ RetValSpec<IntType>,
+ [
+ ArgSpec<StructTimeSpecPtr>,
+ ArgSpec<IntType>,
+ ]
+ >,
----------------
michaelrj-google wrote:
since https://github.com/llvm/llvm-project/pull/117220 is close to landing, it might be best to skip adding anything to the old headergen files.
https://github.com/llvm/llvm-project/pull/116102
More information about the libc-commits
mailing list