diff options
author | Enrico Granata <egranata@apple.com> | 2013-01-29 01:35:01 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2013-01-29 01:35:01 +0000 |
commit | 9a31ccbad87d98d7d567aae3228f955e4f2d03e7 (patch) | |
tree | 6d9512a07fd782ab78180375bb9461bcdb9e2617 /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 0b7bc7f99612e150304b83c5149b220b959b7341 (diff) | |
download | bcm5719-llvm-9a31ccbad87d98d7d567aae3228f955e4f2d03e7.tar.gz bcm5719-llvm-9a31ccbad87d98d7d567aae3228f955e4f2d03e7.zip |
<rdar://problem/12890171>
Providing a compact display mode for "po" to use where the convenience variable name and the pointer value are both hidden.
This is for convenience when dealing with ObjC instances where the description often gets it right and the debugger-provided information is not useful to most people.
If you need either of these, "expr" will still show them.
llvm-svn: 173748
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectExpression.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index 9c4c05d2410..357d8f7526a 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -400,7 +400,9 @@ CommandObjectExpression::EvaluateExpression .SetFormat(format) .SetSummary() .SetShowSummary(!m_varobj_options.use_objc) - .SetHideRootType(m_varobj_options.use_objc); + .SetHideRootType(m_varobj_options.use_objc) + .SetHideName(m_varobj_options.use_objc) + .SetHideValue(m_varobj_options.use_objc); if (m_varobj_options.be_raw) options.SetRawDisplay(true); |