forked from OSchip/llvm-project
<rdar://problem/13100435>
Don't discount regions that vmmap is not discounting. llvm-svn: 177202
This commit is contained in:
parent
90d7fa12d0
commit
7b641e97ed
|
@ -249,9 +249,6 @@ static void GetRegionSizes(task_t task, mach_vm_size_t &rsize, mach_vm_size_t &d
|
|||
// Don't count malloc stack logging data in the TOTAL VM usage lines.
|
||||
if (info.user_tag == VM_MEMORY_ANALYSIS_TOOL)
|
||||
should_count = false;
|
||||
// Don't count system shared library region not used by this process.
|
||||
if (address >= SHARED_REGION_BASE && address < (SHARED_REGION_BASE + SHARED_REGION_SIZE))
|
||||
should_count = false;
|
||||
|
||||
address = address+size;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue