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/AppleGetQueuesHandler.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/AppleGetQueuesHandler.cpp')
| -rw-r--r-- | lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp index 3cf110f0b6c..453ec7bb9a0 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp @@ -397,5 +397,8 @@ AppleGetQueuesHandler::GetCurrentQueues (Thread &thread, addr_t page_to_free, ui return return_value; } + if (log) + log->Printf ("AppleGetQueuesHandler called __introspection_dispatch_get_queues (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.queues_buffer_ptr, return_value.queues_buffer_size, return_value.count); + return return_value; } |

