<rdar://problem/13365424>
authorEnrico Granata <egranata@apple.com>
Mon, 25 Mar 2013 19:46:48 +0000 (19:46 +0000)
committerEnrico Granata <egranata@apple.com>
Mon, 25 Mar 2013 19:46:48 +0000 (19:46 +0000)
commitc2a58d73ce3aa7a678b9a00b086944c111aea02a
tree67a1edf2e9051c0eaa07680bee49484b399b6b44
parent92bd7c0337b4e63ea823573f3ce92eb6afbb082c
<rdar://problem/13365424>

Ensure that option -Y also works for expression as it does for frame variable
Also, if the user passes an explicit format specifier when printing a variable, override the summary's decision to hide the value.

This is required for scenarios like this to work:
(lldb) p/x c
(Class) $0 = 0x0000000100adb7f8 NSObject

Previously this would say:
(lldb) p/x c
(Class) $0 = NSObject

ignoring the explicit format specifier

llvm-svn: 177893
lldb/source/Commands/CommandObjectExpression.cpp
lldb/source/Core/ValueObject.cpp