[Lldb-commits] [lldb] r177202 - <rdar://problem/13100435>
Han Ming Ong
hanming at apple.com
Fri Mar 15 16:19:44 PDT 2013
Author: hanming
Date: Fri Mar 15 18:19:44 2013
New Revision: 177202
URL: http://llvm.org/viewvc/llvm-project?rev=177202&view=rev
Log:
<rdar://problem/13100435>
Don't discount regions that vmmap is not discounting.
Modified:
lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp
Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp?rev=177202&r1=177201&r2=177202&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp Fri Mar 15 18:19:44 2013
@@ -249,10 +249,7 @@ static void GetRegionSizes(task_t task,
// 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;
}
More information about the lldb-commits
mailing list