mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[utils] Use --expand in Demangle::Node lldb type summary (#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 https://github.com/apple/swift/pull/40568
This commit is contained in:
@@ -14,7 +14,7 @@ def __lldb_init_module(debugger, internal_dict):
|
||||
tName = 'lldbSwiftDataFormatters.SmallBitVectorSummaryProvider'
|
||||
debugger.HandleCommand('type summary add -w llvm '
|
||||
'-F %s -x "^llvm::SmallBitVector$"' % tName)
|
||||
debugger.HandleCommand('type summary add --skip-references -w swift '
|
||||
debugger.HandleCommand('type summary add --expand --skip-references -w swift '
|
||||
'-F lldbSwiftDataFormatters.DemangleNodeSummaryProvider '
|
||||
'-x "^swift::Demangle::Node$"')
|
||||
debugger.HandleCommand('type synthetic add --skip-references -w swift '
|
||||
|
||||
Reference in New Issue
Block a user