[PATCH] D132095: [llvm][utils] Make lldb data formatters show both summaries and children
Dave Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 22 18:09:14 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG987d5e6c6c38: [llvm][utils] Make lldb data formatters show both summaries and children (authored by kastiglione).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132095/new/
https://reviews.llvm.org/D132095
Files:
llvm/utils/lldbDataFormatters.py
Index: llvm/utils/lldbDataFormatters.py
===================================================================
--- llvm/utils/lldbDataFormatters.py
+++ llvm/utils/lldbDataFormatters.py
@@ -13,25 +13,25 @@
'-l lldbDataFormatters.SmallVectorSynthProvider '
'-x "^llvm::SmallVectorImpl<.+>$"')
debugger.HandleCommand('type summary add -w llvm '
- '-s "size=${svar%#}" '
+ '-e -s "size=${svar%#}" '
'-x "^llvm::SmallVectorImpl<.+>$"')
debugger.HandleCommand('type synthetic add -w llvm '
'-l lldbDataFormatters.SmallVectorSynthProvider '
'-x "^llvm::SmallVector<.+,.+>$"')
debugger.HandleCommand('type summary add -w llvm '
- '-s "size=${svar%#}" '
+ '-e -s "size=${svar%#}" '
'-x "^llvm::SmallVector<.+,.+>$"')
debugger.HandleCommand('type synthetic add -w llvm '
'-l lldbDataFormatters.ArrayRefSynthProvider '
'-x "^llvm::ArrayRef<.+>$"')
debugger.HandleCommand('type summary add -w llvm '
- '-s "size=${svar%#}" '
+ '-e -s "size=${svar%#}" '
'-x "^llvm::ArrayRef<.+>$"')
debugger.HandleCommand('type synthetic add -w llvm '
'-l lldbDataFormatters.OptionalSynthProvider '
'-x "^llvm::Optional<.+>$"')
debugger.HandleCommand('type summary add -w llvm '
- '-F lldbDataFormatters.OptionalSummaryProvider '
+ '-e -F lldbDataFormatters.OptionalSummaryProvider '
'-x "^llvm::Optional<.+>$"')
debugger.HandleCommand('type summary add -w llvm '
'-F lldbDataFormatters.SmallStringSummaryProvider '
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132095.454669.patch
Type: text/x-patch
Size: 1996 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220823/70156200/attachment.bin>
More information about the llvm-commits
mailing list