diff options
| author | Jim Ingham <jingham@apple.com> | 2014-05-05 02:26:40 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2014-05-05 02:26:40 +0000 |
| commit | 1624a2d3c8a9558840b5e17623d232c0aa3c01cd (patch) | |
| tree | d11f0105a8cca2f3a4c887fbe278b570281ab367 /lldb/source/Plugins/SystemRuntime/MacOSX | |
| parent | e8a7afef86220229a872b78b5e3dd212574d741a (diff) | |
| download | bcm5719-llvm-1624a2d3c8a9558840b5e17623d232c0aa3c01cd.tar.gz bcm5719-llvm-1624a2d3c8a9558840b5e17623d232c0aa3c01cd.zip | |
Make the Expression Execution result enum available to the SB API layer.
Add a callback that will allow an expression to be cancelled between the
expression evaluation stages (for the ClangUserExpressions.)
<rdar://problem/16790467>, <rdar://problem/16573440>
llvm-svn: 207944
Diffstat (limited to 'lldb/source/Plugins/SystemRuntime/MacOSX')
4 files changed, 8 insertions, 8 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp index 11c197bd4e2..d9a1aa7fc8a 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp @@ -363,13 +363,13 @@ AppleGetItemInfoHandler::GetItemInfo (Thread &thread, uint64_t item, addr_t page } - ExecutionResults func_call_ret; + ExpressionResults func_call_ret; Value results; func_call_ret = m_get_item_info_function->ExecuteFunction (exe_ctx, &args_addr, options, errors, results); if (func_call_ret != eExecutionCompleted || !error.Success()) { if (log) - log->Printf ("Unable to call __introspection_dispatch_queue_item_get_info(), got ExecutionResults %d, error contains %s", func_call_ret, error.AsCString("")); + log->Printf ("Unable to call __introspection_dispatch_queue_item_get_info(), got ExpressionResults %d, error contains %s", func_call_ret, error.AsCString("")); error.SetErrorString ("Unable to call __introspection_dispatch_queue_get_item_info() for list of queues"); return return_value; } diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp index 444de2d9b44..214d0f229f1 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp @@ -368,13 +368,13 @@ AppleGetPendingItemsHandler::GetPendingItems (Thread &thread, addr_t queue, addr } - ExecutionResults func_call_ret; + ExpressionResults func_call_ret; Value results; func_call_ret = m_get_pending_items_function->ExecuteFunction (exe_ctx, &args_addr, options, errors, results); if (func_call_ret != eExecutionCompleted || !error.Success()) { if (log) - log->Printf ("Unable to call __introspection_dispatch_queue_get_pending_items(), got ExecutionResults %d, error contains %s", func_call_ret, error.AsCString("")); + log->Printf ("Unable to call __introspection_dispatch_queue_get_pending_items(), got ExpressionResults %d, error contains %s", func_call_ret, error.AsCString("")); error.SetErrorString ("Unable to call __introspection_dispatch_queue_get_pending_items() for list of queues"); return return_value; } diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp index c9f6e127ec5..538bf20f084 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp @@ -367,13 +367,13 @@ AppleGetQueuesHandler::GetCurrentQueues (Thread &thread, addr_t page_to_free, ui options.SetTryAllThreads (false); thread.CalculateExecutionContext (exe_ctx); - ExecutionResults func_call_ret; + ExpressionResults func_call_ret; Value results; func_call_ret = m_get_queues_function->ExecuteFunction (exe_ctx, &args_addr, options, errors, results); if (func_call_ret != eExecutionCompleted || !error.Success()) { if (log) - log->Printf ("Unable to call introspection_get_dispatch_queues(), got ExecutionResults %d, error contains %s", func_call_ret, error.AsCString("")); + log->Printf ("Unable to call introspection_get_dispatch_queues(), got ExpressionResults %d, error contains %s", func_call_ret, error.AsCString("")); error.SetErrorString ("Unable to call introspection_get_dispatch_queues() for list of queues"); return return_value; } diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp index 2114af6bba2..dd2169238ea 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp @@ -366,13 +366,13 @@ AppleGetThreadItemInfoHandler::GetThreadItemInfo (Thread &thread, tid_t thread_i } - ExecutionResults func_call_ret; + ExpressionResults func_call_ret; Value results; func_call_ret = m_get_thread_item_info_function->ExecuteFunction (exe_ctx, &args_addr, options, errors, results); if (func_call_ret != eExecutionCompleted || !error.Success()) { if (log) - log->Printf ("Unable to call __introspection_dispatch_thread_get_item_info(), got ExecutionResults %d, error contains %s", func_call_ret, error.AsCString("")); + log->Printf ("Unable to call __introspection_dispatch_thread_get_item_info(), got ExpressionResults %d, error contains %s", func_call_ret, error.AsCString("")); error.SetErrorString ("Unable to call __introspection_dispatch_thread_get_item_info() for list of queues"); return return_value; } |

