Fix-up for r307307: vm_info.max_address is the first non-addressable pointer, so...
authorKuba Mracek <mracek@apple.com>
Fri, 7 Jul 2017 15:32:44 +0000 (15:32 +0000)
committerKuba Mracek <mracek@apple.com>
Fri, 7 Jul 2017 15:32:44 +0000 (15:32 +0000)
commit0fa9d687403c67e6f284538fea53f57277ef5480
tree9f5bacad250bfbdc048ebcc3a4a7f47af48bc441
parent10ac2fd2ebd05a7c8f3f20c4a2b9762daad61860
Fix-up for r307307: vm_info.max_address is the first non-addressable pointer, so we need to subtract one.

llvm-svn: 307408
compiler-rt/lib/sanitizer_common/sanitizer_mac.cc