[llvm][utils] Make lldb data formatters show both summaries and children
authorDave Lee <davelee.com@gmail.com>
Thu, 18 Aug 2022 01:51:37 +0000 (18:51 -0700)
committerDave Lee <davelee.com@gmail.com>
Tue, 23 Aug 2022 01:08:53 +0000 (18:08 -0700)
commit987d5e6c6c38deb4c4055224cac5ce7c0172487b
treed4605b556e9a4df40f22d7fb73c5811749e46d36
parentff9aab757203dfda9945ea4705bf633e20d380ff
[llvm][utils] Make lldb data formatters show both summaries and children

When a type has a summary and synthetic child provider, the children are shown
only if `--expand`/`-e` is given.

This updates `lldbDataFormatters.py` to expand children of types that have both
a summary and synthetic children.

Differential Revision: https://reviews.llvm.org/D132095
llvm/utils/lldbDataFormatters.py