[sanitizer] zx_vmo_write on Fuchsia takes only 4 arguments now
authorPetr Hosek <phosek@chromium.org>
Thu, 22 Mar 2018 23:58:37 +0000 (23:58 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 22 Mar 2018 23:58:37 +0000 (23:58 +0000)
commitf4ec686bf7a1af2ce3362da35ea983b0cda9ff70
tree0b0b8d0743d6e91b0e9fdb7f592c26b93818652f
parentfab7a676c23e3f8d56a9071fbe9701aef9332db1
[sanitizer] zx_vmo_write on Fuchsia takes only 4 arguments now

The system call now fails when it cannot write the requested size.
Update the sanitizer runtime Fuchsia implementation accordingly.

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

llvm-svn: 328273
compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cc