diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2016-03-08 15:17:21 -0800 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2016-03-08 15:42:17 -0800 |
commit | 29ab360433e0360bcccafb791b1231fe63914974 (patch) | |
tree | fcfe7aea71d98322af9d56cb19b9b6cac478f461 /compiler/optimizing/graph_visualizer.cc | |
parent | 9dd26b2e68ce2b153fc7c5c6b0ad6458a60ea6f5 (diff) |
Fix valgrind errors with MemMap::Sync().
This fixes valgrind-test-art-host-gtest-oat_test and one error in
valgrind-test-art-host-gtest-image_test32.
Valgrind doesn't like it if an address range that contains noaccess or
uninitialized memory is passed to msync(). Temporarily lift the noaccess
protection of the lower-end redzone because msync accepts a page-aligned
base address only and exclude the higher-end noaccess redzone from the
range.
Bug: 27552451
Bug: 27384445
Change-Id: I8ccbd04c62eb30f6c6d5c732f1eb254fa09a417a
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions