summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorHan Ming Ong <hanming@apple.com>2013-03-15 23:19:44 +0000
committerHan Ming Ong <hanming@apple.com>2013-03-15 23:19:44 +0000
commit7b641e97ed04a0d7cdcdad4b423190747af90ec9 (patch)
tree1576f86017ac54a2ff211d9d2a53da245b973f69 /lldb
parent90d7fa12d0814bca69f95d2c4829391a6cb3935b (diff)
downloadbcm5719-llvm-7b641e97ed04a0d7cdcdad4b423190747af90ec9.tar.gz
bcm5719-llvm-7b641e97ed04a0d7cdcdad4b423190747af90ec9.zip
<rdar://problem/13100435>
Don't discount regions that vmmap is not discounting. llvm-svn: 177202
Diffstat (limited to 'lldb')
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp b/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp
index fbcda3f0a6e..6ef43424c5d 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp
@@ -249,10 +249,7 @@ 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;
}
OpenPOWER on IntegriCloud