diff options
author | Jason Molenda <jmolenda@apple.com> | 2013-04-06 07:28:38 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2013-04-06 07:28:38 +0000 |
commit | bef3f8619fa6ac40fa23ba6bc339b21fafa2da14 (patch) | |
tree | af094d820160c4ab62efe0519c61db8e6abecec4 | |
parent | 272ee619f29d6f1a69b2b4bfa2b5eae219e15c2a (diff) | |
download | bcm5719-llvm-bef3f8619fa6ac40fa23ba6bc339b21fafa2da14.tar.gz bcm5719-llvm-bef3f8619fa6ac40fa23ba6bc339b21fafa2da14.zip |
Add optional LOG_TASK logging for MachVMMemory::PageSize when the call succeeds, too.
llvm-svn: 178955
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp b/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp index 2d2c5b15e9c..0b47c633f09 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp +++ b/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp @@ -42,6 +42,7 @@ MachVMMemory::PageSize(task_t task) kr = task_info (task, TASK_VM_INFO, (task_info_t) &vm_info, &info_count); if (kr == KERN_SUCCESS) { + DNBLogThreadedIf(LOG_TASK, "MachVMMemory::PageSize task_info returned page size of 0x%x", (int) vm_info.page_size); return vm_info.page_size; } else |