[PATCH] D42617: [sanitizer] Update from zx_time_get to zx_clock_get

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 27 16:00:14 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL323611: [sanitizer] Update from zx_time_get to zx_clock_get (authored by phosek, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D42617?vs=131694&id=131695#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D42617

Files:
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc


Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc
@@ -49,9 +49,9 @@
   return 0;
 }
 
-u64 NanoTime() { return _zx_time_get(ZX_CLOCK_UTC); }
+u64 NanoTime() { return _zx_clock_get(ZX_CLOCK_UTC); }
 
-u64 MonotonicNanoTime() { return _zx_time_get(ZX_CLOCK_MONOTONIC); }
+u64 MonotonicNanoTime() { return _zx_clock_get(ZX_CLOCK_MONOTONIC); }
 
 uptr internal_getpid() {
   zx_info_handle_basic_t info;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42617.131695.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180128/18721537/attachment.bin>


More information about the llvm-commits mailing list