diff options
author | Petr Hosek <phosek@chromium.org> | 2019-06-27 21:13:05 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2019-06-27 21:13:05 +0000 |
commit | db8d60bc3d340838680bdb02788fc9d372ebfb40 (patch) | |
tree | 630aa6ca42732060409b315f73b48e3523159dd9 | |
parent | 60eb072a16750ccae175e4c06f9135ba3669cbdd (diff) | |
download | compiler-rt-db8d60bc3d340838680bdb02788fc9d372ebfb40.tar.gz |
[sanitizer_common] Switch from zx_clock_get_new to zx_clock_get
This is part of the soft-transition to the new system call name.
These two system calls are the same so this change is no-op.
Differential Revision: https://reviews.llvm.org/D63895
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@364593 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/sanitizer_common/sanitizer_fuchsia.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_fuchsia.cc b/lib/sanitizer_common/sanitizer_fuchsia.cc index d358e7e00..9c032fa89 100644 --- a/lib/sanitizer_common/sanitizer_fuchsia.cc +++ b/lib/sanitizer_common/sanitizer_fuchsia.cc @@ -48,7 +48,7 @@ unsigned int internal_sleep(unsigned int seconds) { u64 NanoTime() { zx_time_t time; - zx_status_t status = _zx_clock_get_new(ZX_CLOCK_UTC, &time); + zx_status_t status = _zx_clock_get(ZX_CLOCK_UTC, &time); CHECK_EQ(status, ZX_OK); return time; } |