diff options
author | Greg Clayton <gclayton@apple.com> | 2012-07-14 00:53:55 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-07-14 00:53:55 +0000 |
commit | 685c88c5a8d86d10b0b9077a76b22815ce092f27 (patch) | |
tree | e341c3c30fdde248b865150b22362e488e44212c /lldb/source/Commands/CommandObjectWatchpoint.cpp | |
parent | c22e8d11929a3107c11ddf368078238cfd6a4416 (diff) | |
download | bcm5719-llvm-685c88c5a8d86d10b0b9077a76b22815ce092f27.tar.gz bcm5719-llvm-685c88c5a8d86d10b0b9077a76b22815ce092f27.zip |
<rdar://problem/11870357>
Allow "frame variable" to find ivars without the need for "this->" or "self->".
llvm-svn: 160211
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpoint.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectWatchpoint.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectWatchpoint.cpp b/lldb/source/Commands/CommandObjectWatchpoint.cpp index ee4b6b96317..bb7ce45eeaf 100644 --- a/lldb/source/Commands/CommandObjectWatchpoint.cpp +++ b/lldb/source/Commands/CommandObjectWatchpoint.cpp @@ -1015,7 +1015,8 @@ protected: // Things have checked out ok... Error error; - uint32_t expr_path_options = StackFrame::eExpressionPathOptionCheckPtrVsMember; + uint32_t expr_path_options = StackFrame::eExpressionPathOptionCheckPtrVsMember | + StackFrame::eExpressionPathOptionsAllowDirectIVarAccess; valobj_sp = frame->GetValueForVariableExpressionPath (command.GetArgumentAtIndex(0), eNoDynamicValues, expr_path_options, |