diff options
author | Roland McGrath <mcgrathr@google.com> | 2022-01-04 10:25:20 -0800 |
---|---|---|
committer | Roland McGrath <mcgrathr@google.com> | 2022-01-10 13:14:50 -0800 |
commit | ce167c6fb2ae67cffa6702b869762fb80b62d3bc (patch) | |
tree | 6fe5fc0747f9662fc4549615c5d7d3be372d63c0 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | c9f83a8af9dc6d4bd3e864ad5a8df1f441a4b6ef (diff) | |
download | llvm-ce167c6fb2ae67cffa6702b869762fb80b62d3bc.zip llvm-ce167c6fb2ae67cffa6702b869762fb80b62d3bc.tar.gz llvm-ce167c6fb2ae67cffa6702b869762fb80b62d3bc.tar.bz2 |
[libcxx] Use Fuchsia-native monotonic clock for std::chrono::steady_clock
Use the zx_clock_get_monotonic system call directly rather than
going through the POSIX clock_gettime function. The libc function
is a trivial wrapper around the system call, and is not a standard C
function. Avoiding it reduces the Fuchsia libc ABI surface that
libc++ depends on.
Reviewed By: phosek, ldionne, #libc
Differential Revision: https://reviews.llvm.org/D116606
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions