[all-commits] [llvm/llvm-project] eaae52: This introduces gmtime to LLVM libc, based on C99/...

rtenneti-google via All-commits all-commits at lists.llvm.org
Tue Mar 16 16:45:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaae52c1fd459f9c0a147361bc3b962238faba5c
      https://github.com/llvm/llvm-project/commit/eaae52c1fd459f9c0a147361bc3b962238faba5c
  Author: Raman Tenneti <rtenneti at google.com>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M libc/config/linux/api.td
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/stdc.td
    M libc/src/time/CMakeLists.txt
    A libc/src/time/gmtime.cpp
    A libc/src/time/gmtime.h
    M libc/src/time/mktime.cpp
    A libc/src/time/time_utils.cpp
    M libc/src/time/time_utils.h
    M libc/test/src/time/CMakeLists.txt
    A libc/test/src/time/gmtime_test.cpp
    M libc/test/src/time/mktime_test.cpp

  Log Message:
  -----------
  This introduces gmtime to LLVM libc, based on C99/C2X/Single Unix Spec.

This change doesn't handle TIMEZONE, tm_isdst and leap seconds.

Moved shared code between mktime and gmtime into time_utils.cpp.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D98467




More information about the All-commits mailing list