[libc-commits] [PATCH] D99046: This introduces gmtime_r to LLVM libc, based on C99/C2X/Single Unix Sp.

Raman Tenneti via Phabricator via libc-commits libc-commits at lists.llvm.org
Sun Mar 21 17:45:10 PDT 2021


rtenneti created this revision.
rtenneti added reviewers: jeffbailey, sivachandra.
Herald added subscribers: libc-commits, mgorny.
Herald added a project: libc-project.
rtenneti requested review of this revision.

gmtime and gmtime_r share the same common code. They call gmtime_internal
a static inline function. Thus added only validation tests for gmtime_r.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99046

Files:
  libc/config/linux/api.td
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/stdc.td
  libc/src/time/CMakeLists.txt
  libc/src/time/gmtime.cpp
  libc/src/time/gmtime_r.cpp
  libc/src/time/gmtime_r.h
  libc/src/time/time_utils.h
  libc/test/src/time/CMakeLists.txt
  libc/test/src/time/gmtime_r_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99046.332183.patch
Type: text/x-patch
Size: 8700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210322/a82a82cf/attachment.bin>


More information about the libc-commits mailing list