summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadPlanCallUserExpression.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-12-13 22:46:15 +0000
committerSean Callanan <scallanan@apple.com>2010-12-13 22:46:15 +0000
commit1782783095b51000831c7d2fd1d763355b5adc0f (patch)
treefc296a108c96feda93188471be524ad16ed3e04c /lldb/source/Target/ThreadPlanCallUserExpression.cpp
parent4efa445f3cd10e828a6022ca2ea53ca827dde6a7 (diff)
downloadbcm5719-llvm-1782783095b51000831c7d2fd1d763355b5adc0f.tar.gz
bcm5719-llvm-1782783095b51000831c7d2fd1d763355b5adc0f.zip
Added support for generating expressions that have
access to the members of the Objective-C self object. The approach we take is to generate the method as a @category on top of the self object, and to pass the "self" pointer to it. (_cmd is currently NULL.) Most changes are in ClangExpressionDeclMap, but the change that adds support to the ABIs to pass _cmd touches a fair amount of code. llvm-svn: 121722
Diffstat (limited to 'lldb/source/Target/ThreadPlanCallUserExpression.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanCallUserExpression.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanCallUserExpression.cpp b/lldb/source/Target/ThreadPlanCallUserExpression.cpp
index fd022a26d55..dc27b2be200 100644
--- a/lldb/source/Target/ThreadPlanCallUserExpression.cpp
+++ b/lldb/source/Target/ThreadPlanCallUserExpression.cpp
@@ -42,8 +42,9 @@ ThreadPlanCallUserExpression::ThreadPlanCallUserExpression (Thread &thread,
bool stop_other_threads,
bool discard_on_error,
lldb::addr_t *this_arg,
+ lldb::addr_t *cmd_arg,
ClangUserExpression::ClangUserExpressionSP &user_expression_sp) :
- ThreadPlanCallFunction (thread, function, arg, stop_other_threads, discard_on_error, this_arg),
+ ThreadPlanCallFunction (thread, function, arg, stop_other_threads, discard_on_error, this_arg, cmd_arg),
m_user_expression_sp (user_expression_sp)
{
}
OpenPOWER on IntegriCloud