This is an archive of the discontinued LLVM Phabricator instance.

[Support] Use zx_cache_flush on Fuchsia to flush instruction cache
ClosedPublic

Authored by phosek on Jun 4 2018, 6:49 PM.

Details

Summary

Fuchsia doesn't use __clear_cache, instead it provide zx_cache_flush
system call. Use it to flush instruction cache.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Jun 4 2018, 6:49 PM
mcgrathr accepted this revision.Jun 5 2018, 1:09 PM

lgtm

This revision is now accepted and ready to land.Jun 5 2018, 1:09 PM
This revision was automatically updated to reflect the committed changes.