[all-commits] [llvm/llvm-project] 5f1ba3: [libc++] Synchronize clock selection between chron...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Wed Jul 5 05:38:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5f1ba3a5020acdac4a7368f19b074577b5a6da8c
https://github.com/llvm/llvm-project/commit/5f1ba3a5020acdac4a7368f19b074577b5a6da8c
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-07-05 (Wed, 05 Jul 2023)
Changed paths:
M libcxx/src/chrono.cpp
M libcxx/src/filesystem/filesystem_clock.cpp
Log Message:
-----------
[libc++] Synchronize clock selection between chrono.cpp and filesystem_clock.cpp
Note that _FilesystemClock will now be implemented by calling gettimeofday()
on Apple platforms instead of clock_gettime(). However, since both are
equivalent, this should not change the behavior on Apple platforms.
There should be no behavior change on other platforms.
In addition to being a consistency clean up, this fixes some issues seen
by folks as reported in https://reviews.llvm.org/D154390#4471924.
Differential Revision: https://reviews.llvm.org/D154457
More information about the All-commits
mailing list