llvm-project/lldb
Enrico Granata a29cb0bada <rdar://problem/12042982>
This radar extends the notion of one-liner summaries to automagically apply in a few interesting cases

More specifically, this checkin changes the printout of ValueObjects to print on one-line (as if type summary add -c had been applied) iff:
this ValueObject does not have a summary
its children have no synthetic children
its children are not a non-empty base class without a summary
its children do not have a summary that asks for children to show up
the aggregate length of all the names of all the children is <= 50 characters
you did not ask to see the types during a printout
your pointer depth is 0

This is meant to simplify the way LLDB shows data on screen for small structs and similarly compact data types (e.g. std::pair<int,int> anyone?)

Feedback is especially welcome on how the feature feels and corner cases where we should apply this printout and don't (or viceversa, we are applying it when we shouldn't be)

llvm-svn: 191996
2013-10-04 23:14:13 +00:00
..
docs Add a new qGDBServerVersion packet so lldb can query 2013-10-01 05:08:22 +00:00
examples This is an example synthetic provider for libc++ unordered (multi) maps&set 2013-09-04 17:48:52 +00:00
include <rdar://problem/12042982> 2013-10-04 23:14:13 +00:00
lib merge lldb-platform-work branch (and assorted fixes) into trunk 2013-08-26 23:57:52 +00:00
lldb.xcodeproj <rdar://problem/14393032> 2013-09-30 19:11:51 +00:00
lldb.xcworkspace Move the performance test cases into their own project. 2013-03-18 23:05:00 +00:00
resources Bump version number to 310.99.0. 2013-07-15 04:47:33 +00:00
scripts Add missing GetBroadcasterClassName and event types enum to SBThread.i 2013-10-03 22:21:09 +00:00
source <rdar://problem/12042982> 2013-10-04 23:14:13 +00:00
test <rdar://problem/12042982> 2013-10-04 23:14:13 +00:00
tools Update RNBRemote to handle the new pseudo_regs field added to DNBRegisterInfo 2013-10-01 23:54:23 +00:00
utils Fixed continue issues with process attach/detach 2013-05-28 21:27:03 +00:00
www Update the build documentation for Debian & Ubuntu 2013-09-29 10:46:25 +00:00
.arcconfig Adding .arcconfig file to LLDB to allow using Phabricator for reviews 2013-05-23 20:21:28 +00:00
.gitignore Remove "llvm" from list of things to ignore. This results in the 2012-03-03 06:43:59 +00:00
CMakeLists.txt Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
INSTALL.txt Update INSTALL.txt to mention LLDB builds on Linux with GCC or Clang. 2013-02-21 22:37:18 +00:00
LICENSE.TXT
Makefile Respect SDKROOT in lldb Makefile 2013-09-18 16:32:28 +00:00