Skip to content

Commit

Permalink
i#2037 re-walk maps: fix Mac build
Browse files Browse the repository at this point in the history
Fixes Mac build breakage from 8471d5c.

Issue: #2037
  • Loading branch information
derekbruening committed Mar 24, 2018
1 parent 84d427c commit f83b6c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/unix/os.c
Original file line number Diff line number Diff line change
Expand Up @@ -9167,14 +9167,12 @@ os_walk_address_space(memquery_iter_t *iter, bool add_modules)
/* Don't add if we're using one single vmheap entry. */
if (iter->vm_start < our_heap_start ||
iter->vm_end > our_heap_end) {
#endif
LOG(GLOBAL, LOG_VMAREAS, 4,
"os_walk_address_space: adding: "PFX"-"PFX" prot=%d\n",
iter->vm_start, iter->vm_end, iter->prot);
memcache_update_locked(iter->vm_start, iter->vm_end, iter->prot,
image ? DR_MEMTYPE_IMAGE : DR_MEMTYPE_DATA,
false/*!exists*/);
#ifndef HAVE_MEMINFO_QUERY
}
#endif

Expand Down

0 comments on commit f83b6c4

Please sign in to comment.