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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
utils/gdb-scripts/prettyprinters.py | ||
---|---|---|
230–231 ↗ | (On Diff #97600) | is this a performance optimization, or for correctness in some way? |
utils/gdb-scripts/prettyprinters.py | ||
---|---|---|
230–231 ↗ | (On Diff #97600) | No this is not required, I just added it because it is an easy way to avoid two unnecessary string concatenations (which probably allocate memory). I can remove it if you prefer. |
utils/gdb-scripts/prettyprinters.py | ||
---|---|---|
230–231 ↗ | (On Diff #97600) | Not too fussed - maybe include a comment if you like. :) |