Skip to content

Commit eda5aed

Browse files
kastiglionemeg-gupta
authored andcommitted
[utils] Use --expand in Demangle::Node lldb type summary (swiftlang#65897)
Without `--expand`, only the summary is shown, no child nodes. Adding `--expand` allows for printing the child nodes, to be printed too. Follow up to swiftlang#40568
1 parent 1308e9f commit eda5aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/lldb/lldbSwiftDataFormatters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def __lldb_init_module(debugger, internal_dict):
1414
tName = 'lldbSwiftDataFormatters.SmallBitVectorSummaryProvider'
1515
debugger.HandleCommand('type summary add -w llvm '
1616
'-F %s -x "^llvm::SmallBitVector$"' % tName)
17-
debugger.HandleCommand('type summary add --skip-references -w swift '
17+
debugger.HandleCommand('type summary add --expand --skip-references -w swift '
1818
'-F lldbSwiftDataFormatters.DemangleNodeSummaryProvider '
1919
'-x "^swift::Demangle::Node$"')
2020
debugger.HandleCommand('type synthetic add --skip-references -w swift '

0 commit comments

Comments
 (0)