Skip to content

Commit a5f0dbc

Browse files
authored
Merge pull request #66272 from apple/egorzhdan/lldb-pretty-printer-identifier
[utils] Show the string value of `swift::Identifier` in LLDB
2 parents 8ccabbd + 4269c02 commit a5f0dbc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/lldb/lldbSwiftDataFormatters.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ def __lldb_init_module(debugger, internal_dict):
2020
debugger.HandleCommand('type synthetic add --skip-references -w swift '
2121
'-l lldbSwiftDataFormatters.DemangleNodeSynthProvider '
2222
'-x "^swift::Demangle::Node$"')
23+
debugger.HandleCommand('type summary add -w swift '
24+
'-s "${var.Pointer%S}" '
25+
'swift::Identifier')
2326

2427

2528
def SmallBitVectorSummaryProvider(valobj, internal_dict):

0 commit comments

Comments
 (0)