summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gdb-scripts
Commit message (Collapse)AuthorAgeFilesLines
* Add gdb pretty printer for MutableArrayRef, remove ConstArrayRef.Christian Sigg2020-01-091-1/+1
| | | | | | | | | | | | Reviewers: dblaikie Reviewed By: dblaikie Subscribers: merge_guards_bot, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72136
* Fix GDB pretty printer for Optional after r354246David Blaikie2019-05-281-2/+1
| | | | llvm-svn: 361870
* Python compat - iterator protocolSerge Guelton2019-01-031-9/+10
| | | | | | | | In Python2 next() is used wile it's __next__ in Python3. Differential Revision: https://reviews.llvm.org/D56250 llvm-svn: 350326
* Python compat - print statementSerge Guelton2019-01-031-0/+2
| | | | | | | | | Make sure all print statements are compatible with Python 2 and Python3 using the `from __future__ import print_function` statement. Differential Revision: https://reviews.llvm.org/D56249 llvm-svn: 350307
* [gdb] Fix SmallVector pretty printer after r337514Fangrui Song2018-07-231-33/+13
| | | | llvm-svn: 337747
* [Utils] Fix gdb pretty printers to work with Python 3.Philip Pfaffe2018-07-091-0/+4
| | | | | | | | Reiterate D23202 for container printers added after the change landed. Differential Revision: https://reviews.llvm.org/D46578 llvm-svn: 336580
* [gdb] Escape unprintable bytes in SmallString and StringRefFangrui Song2018-06-261-8/+4
| | | | llvm-svn: 335561
* [gdb] Add pretty printer for ExpectedFangrui Song2018-06-251-21/+45
| | | | | | | | | | Reviewers: dblaikie Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D48512 llvm-svn: 335554
* [gdb] Use Latin-1 to decode StringRefFangrui Song2018-06-221-1/+1
| | | | llvm-svn: 335387
* [gdb] Update llvm::OptionalFangrui Song2018-06-211-3/+4
| | | | | | | | | | Reviewers: dblaikie Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D48461 llvm-svn: 335303
* 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