diff options
Diffstat (limited to 'runtime/mem_map.cc')
-rw-r--r-- | runtime/mem_map.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/mem_map.cc b/runtime/mem_map.cc index a0f389cb1e..619b73cf8a 100644 --- a/runtime/mem_map.cc +++ b/runtime/mem_map.cc @@ -52,9 +52,9 @@ static void CheckMapRequest(byte* addr, size_t byte_count) { map_info_t* map_info_list = load_map_info_list(getpid()); for (map_info_t* m = map_info_list; m != NULL; m = m->next) { - CHECK(!(base >= m->start && base < m->end) // start of new within old - && !(limit > m->start && limit < m->end) // end of new within old - && !(base <= m->start && limit > m->end)) // start/end of new includes all of old + CHECK(!(base >= m->start && base < m->end) // start of new within old + && !(limit > m->start && limit < m->end) // end of new within old + && !(base <= m->start && limit > m->end)) // start/end of new includes all of old << StringPrintf("Requested region 0x%08x-0x%08x overlaps with existing map 0x%08x-0x%08x (%s)\n", base, limit, static_cast<uint32_t>(m->start), static_cast<uint32_t>(m->end), m->name) |