]> granicus.if.org Git - llvm/commit
Make the Twine pretty-printer work with GDB 7.11
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 4 Jun 2017 03:27:12 +0000 (03:27 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 4 Jun 2017 03:27:12 +0000 (03:27 +0000)
commit8c1cc236e002fc8e92d244cbee589d7ecba03f6b
tree688b71b88d16d267e4f0c489803968baf528cf73
parent653044e2ac52030fb912cc4510e0e83ab135573b
Make the Twine pretty-printer work with GDB 7.11

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304675 91177308-0d34-0410-b5e6-96231b3b80d8
utils/gdb-scripts/prettyprinters.py