[all-commits] [llvm/llvm-project] 000a3f: [libc][c11] implement ctime (#107285)
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Mon Sep 16 11:27:54 PDT 2024
Branch: refs/heads/users/vitalybuka/spr/sanitizer-fix-partially-initialized-static-tls-range
Home: https://github.com/llvm/llvm-project
Commit: 000a3f0a54876f1519393e40085500e16ea12cf4
https://github.com/llvm/llvm-project/commit/000a3f0a54876f1519393e40085500e16ea12cf4
Author: Зишан Мирза <149377404+zimirza at users.noreply.github.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/newhdrgen/yaml/time.yaml
M libc/spec/stdc.td
M libc/src/time/CMakeLists.txt
A libc/src/time/ctime.cpp
A libc/src/time/ctime.h
A libc/src/time/ctime_r.cpp
A libc/src/time/ctime_r.h
M libc/src/time/time_utils.h
M libc/test/src/time/CMakeLists.txt
A libc/test/src/time/ctime_r_test.cpp
A libc/test/src/time/ctime_test.cpp
Log Message:
-----------
[libc][c11] implement ctime (#107285)
This is an implementation of `ctime` and includes `ctime_r`.
According to documentation, `ctime` and `ctime_r` are defined as the
following:
```c
char *ctime(const time_t *timep);
char *ctime_r(const time_t *restrict timep, char buf[restrict 26]);
```
closes #86567
Commit: eb02a39ed1a793f61c9c33ddd7c8ac6a1b58cf39
https://github.com/llvm/llvm-project/commit/eb02a39ed1a793f61c9c33ddd7c8ac6a1b58cf39
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/newhdrgen/yaml/time.yaml
M libc/spec/stdc.td
M libc/src/time/CMakeLists.txt
A libc/src/time/ctime.cpp
A libc/src/time/ctime.h
A libc/src/time/ctime_r.cpp
A libc/src/time/ctime_r.h
M libc/src/time/time_utils.h
M libc/test/src/time/CMakeLists.txt
A libc/test/src/time/ctime_r_test.cpp
A libc/test/src/time/ctime_test.cpp
Log Message:
-----------
rebase
Created using spr 1.3.4
Compare: https://github.com/llvm/llvm-project/compare/3f4eaffecf8b...eb02a39ed1a7
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