HomePhabricator

[sanitizer][fuchsia] Avoid deprecated syscall.

Authored by jsankey on Oct 29 2020, 10:51 AM.

Description

[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

Details

Committed
mcgrathrOct 29 2020, 10:51 AM
Reviewer
mcgrathr
Differential Revision
D90169: [sanitizer][fuchsia] Avoid deprecated syscall.
Parents
rGddfe4784cc6e: [Support] Make Support/SwapByteOrder.h compile on Fuchsia
Branches
Unknown
Tags
Unknown