evgeny777 added a comment.

Yes I know about GetValue() and stuff
Actually I implemented new method, because I needed 
TypeSummaryImpl::DoesPrintValue().
In lldb when you evaluate char*, you get both value and summary, for example:

0xdeadbeef "hello"

But when you evaluate char[] array, you get just "hello". Value is not printed, 
because DoesPrintValue() method returns false
The same is for UTF-16 characters (char16_t). This type has both value and 
summary, but only summary is printed by lldb

I wanted to replicate the same behavior in lldb-mi. But if adding methods to 
SBValue should be avoided, I'll think of some workaround inside lldb-mi.
Your opinions are welcome, of course


http://reviews.llvm.org/D13058



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to