summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-02-15 00:20:40 +0000
committerJason Molenda <jmolenda@apple.com>2014-02-15 00:20:40 +0000
commit2a6c252df2f3bd49a1fb4fc58c4608ccdb6d79a8 (patch)
tree292695bfc5eabd84d224acfad16ec26b320703a4 /lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
parent92e3aa2622157eef651172996a7c6474bc5ec410 (diff)
downloadbcm5719-llvm-2a6c252df2f3bd49a1fb4fc58c4608ccdb6d79a8.tar.gz
bcm5719-llvm-2a6c252df2f3bd49a1fb4fc58c4608ccdb6d79a8.zip
Add some additional logging to the Mac OS X SystemRuntime. Fix a bug where lldb could free an inferior's vm_page.
llvm-svn: 201447
Diffstat (limited to 'lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp')
-rw-r--r--lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
index a30749ef38c..b58ef0c985d 100644
--- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
+++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
@@ -389,5 +389,8 @@ AppleGetThreadItemInfoHandler::GetThreadItemInfo (Thread &thread, tid_t thread_i
return return_value;
}
+ if (log)
+ log->Printf ("AppleGetThreadItemInfoHandler called __introspection_dispatch_thread_get_item_info (page_to_free == 0x%" PRIx64 ", size = %" PRId64 "), returned page is at 0x%" PRIx64 ", size %" PRId64, page_to_free, page_to_free_size, return_value.item_buffer_ptr, return_value.item_buffer_size);
+
return return_value;
}
OpenPOWER on IntegriCloud