This patch partly reverts the change that was made in 5f1ba3a502
regarding the clock selection on Apple platforms. It turns out that
gettimeofday() is marked as obsolete by POSIX and clock_gettime() is
recommended instead. Since both are equivalent for our purposes,
prefer using clock_gettime() even on Apple platforms.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG7e6f2b749bf7: [libc++] Fix clock selection in chrono.cpp and filesystem_clock.cpp
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo