[PATCH] D63895: [sanitizer_common] Switch from zx_clock_get_new to zx_clock_get

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 14:15:07 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL364593: [sanitizer_common] Switch from zx_clock_get_new to zx_clock_get (authored by phosek, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D63895?vs=206926&id=206936#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63895/new/

https://reviews.llvm.org/D63895

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
@@ -48,7 +48,7 @@
 
 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;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63895.206936.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/df056d84/attachment.bin>


More information about the llvm-commits mailing list