diff options
author | Jason Molenda <jmolenda@apple.com> | 2014-02-15 00:20:40 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2014-02-15 00:20:40 +0000 |
commit | 2a6c252df2f3bd49a1fb4fc58c4608ccdb6d79a8 (patch) | |
tree | 292695bfc5eabd84d224acfad16ec26b320703a4 /lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp | |
parent | 92e3aa2622157eef651172996a7c6474bc5ec410 (diff) | |
download | bcm5719-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/AppleGetPendingItemsHandler.cpp')
-rw-r--r-- | lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp index 45be3439d2a..5ba8ac2bf51 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp @@ -398,5 +398,8 @@ AppleGetPendingItemsHandler::GetPendingItems (Thread &thread, addr_t queue, addr return return_value; } + if (log) + log->Printf ("AppleGetPendingItemsHandler called __introspection_dispatch_queue_get_pending_items (page_to_free == 0x%" PRIx64 ", size = %" PRId64 "), returned page is at 0x%" PRIx64 ", size %" PRId64 ", count = %" PRId64, page_to_free, page_to_free_size, return_value.items_buffer_ptr, return_value.items_buffer_ptr, return_value.count); + return return_value; } |