summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gdb-scripts/prettyprinters.py
Commit message (Collapse)AuthorAgeFilesLines
* Make the Twine pretty-printer work with GDB 7.11David Blaikie2017-06-041-14/+22
| | | | | | | | | | | | Apparently ::NodeKind is sometimes part of the name in GDB. Without this patch I get the following error message from GDB: `Unhandled NodeKind llvm::Twine::NodeKind::EmptyKind`. Patch by Alexander Richardson! Differential Revision: https://reviews.llvm.org/D32795 llvm-svn: 304675
* Add GDB pretty-printer for llvm::Twine typeDavid Blaikie2017-03-151-0/+108
| | | | | | | | Patch by Simon Marchi! Differential Revision: https://reviews.llvm.org/D30994 llvm-svn: 297889
* GDB pretty printers: Basic DenseMap supportDavid Blaikie2016-12-161-0/+64
| | | | | | | | | | | | Still prints the empty/tombstone keys (which some people would prefer, but I find pretty noisy) because I haven't yet found a reliable way to skip them (it requires calling into the running process to do so, which isn't ideal for a pretty printer (doesn't work on a core file, for example) - and gdb's ability to do so (or my ability to figure out how to get gdb to do so) is limited) left some breadcrumbs for the next person who might try to address that. llvm-svn: 290011
* GDB pretty printer for llvm::OptionalDavid Blaikie2016-12-161-0/+29
| | | | | | | | | | (some other implementations of an optional pretty printer print the full name of the optional type (including template parameter) - but seems if the template parameter isn't printed for std::vector, not sure why it would be printed for optional, so erring on the side of consistency in that direction here - compact, etc, as well) llvm-svn: 289976
* Fix gdb pretty printers to work with Python 3.Igor Kudrin2016-08-051-0/+4
| | | | | | Differential Revision: https://reviews.llvm.org/D23202 llvm-svn: 277833
* Reference gdb python type printer scripts from SmallString, SmallVector, ↵David Blaikie2016-06-011-0/+107
ArrayRef, and StringRef llvm-svn: 271357
OpenPOWER on IntegriCloud