[sanitizer] [SystemZ] Implement internal_mmap.
authorMarcin Koscielnicki <koriakin@0x04.net>
Thu, 14 Apr 2016 12:51:45 +0000 (12:51 +0000)
committerMarcin Koscielnicki <koriakin@0x04.net>
Thu, 14 Apr 2016 12:51:45 +0000 (12:51 +0000)
commit545e507c438ff87d44ec873abda9b4379f2bf724
tree4c0527cb9bfb5bc93e4040e9dd40f8b53769760a
parent17b8b0625252be3d14609b248c6701fe0d10dbb8
[sanitizer] [SystemZ] Implement internal_mmap.

mmap on s390 is quite a special snowflake: since it has too many
parameters to pass them in registers, it passes a pointer to a struct
with all the parameters instead.

Differential Revision: http://reviews.llvm.org/D18889

llvm-svn: 266295
compiler-rt/lib/sanitizer_common/sanitizer_linux.cc