[all-commits] [llvm/llvm-project] 5a3077: [sanitizer][fuchsia] Avoid deprecated syscall.

Roland McGrath via All-commits all-commits at lists.llvm.org
Thu Oct 29 10:52:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a3077f3a7b3ca15cffda078a8a706663ba1cb8e
      https://github.com/llvm/llvm-project/commit/5a3077f3a7b3ca15cffda078a8a706663ba1cb8e
  Author: Jody Sankey <jsankey at google.com>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp

  Log Message:
  -----------
  [sanitizer][fuchsia] Avoid deprecated syscall.

The zx_clock_get syscall on Fuchsia is deprecated - ref
https://fuchsia.dev/fuchsia-src/reference/syscalls/clock_get
This changes to the recommended replacement; calling zx_clock_read on
the userspace UTC clock.

Reviewed By: mcgrathr, phosek

Differential Revision: https://reviews.llvm.org/D90169




More information about the All-commits mailing list