[compiler-rt] r364593 - [sanitizer_common] Switch from zx_clock_get_new to zx_clock_get
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 14:13:05 PDT 2019
Author: phosek
Date: Thu Jun 27 14:13:05 2019
New Revision: 364593
URL: http://llvm.org/viewvc/llvm-project?rev=364593&view=rev
Log:
[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
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc?rev=364593&r1=364592&r2=364593&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc Thu Jun 27 14:13:05 2019
@@ -48,7 +48,7 @@ unsigned int internal_sleep(unsigned int
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;
}
More information about the llvm-commits
mailing list