[ASan] When iterating over segments on OSX, treat the segments' initial
authorAlexander Potapenko <glider@google.com>
Wed, 25 Jun 2014 15:43:19 +0000 (15:43 +0000)
committerAlexander Potapenko <glider@google.com>
Wed, 25 Jun 2014 15:43:19 +0000 (15:43 +0000)
commitb1b8231c8b4d549440ce8fc2e11303341399c0e0
treebe4c514862990a6411b5551e80f44f5815e09bf6
parentb198b4e864a98deaec662eed4e7db42c11f66614
[ASan] When iterating over segments on OSX, treat the segments' initial
protection level as their current protection level.
This fixes the UNIMPLEMENTED check that started to fire on OSX after r210649.

llvm-svn: 211713
compiler-rt/lib/sanitizer_common/sanitizer_procmaps_mac.cc