esan: fix shadow setup
authorDmitry Vyukov <dvyukov@google.com>
Fri, 20 Jul 2018 13:40:08 +0000 (13:40 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Fri, 20 Jul 2018 13:40:08 +0000 (13:40 +0000)
commit97cf5f7f40fed23aa2d3bd2e67d58df74e466992
tree617f2575ab5a5e7f564f304ca438baef2657bb28
parent0f609db61aeca16fa41f736594705b2fec9bbd50
esan: fix shadow setup

r337531 changed return type of MmapFixedNoReserve, but esan wasn't updated.
As the result esan shadow setup always fails.
We probably need to make MmapFixedNoAccess signature consistent
with MmapFixedNoReserve. But this is just to unbreak tests.

llvm-svn: 337550
compiler-rt/lib/esan/esan.cpp