Some GDB versions require all prettyprinter classes to define to_string.
This commit adds these definitions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D127969  
[gdb-scripts] Add to_string methods to printer implementations ClosedPublic Authored by krzysz00 on Jun 16 2022, 7:41 AM. 
Details Summary Some GDB versions require all prettyprinter classes to define to_string. 
Diff Detail 
 Event TimelineHerald added projects: Restricted Project, Restricted Project.  ·  View Herald TranscriptJun 16 2022, 7:41 AM Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache.  ·  View Herald Transcript This revision is now accepted and ready to land.Jun 20 2022, 11:41 PM This revision was landed with ongoing or failed builds.Jun 21 2022, 9:09 AM Closed by commit rG7c5c4e781b8c: [gdb-scripts] Add to_string methods to printer implementations (authored by krzysz00).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 438731 llvm/utils/gdb-scripts/prettyprinters.py
 mlir/utils/gdb-scripts/prettyprinters.py
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||