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
- Build Status
Buildable 6098 Build 6098: arc lint + arc unit
Event Timeline
utils/gdb-scripts/prettyprinters.py | ||
---|---|---|
230–231 | is this a performance optimization, or for correctness in some way? |
utils/gdb-scripts/prettyprinters.py | ||
---|---|---|
230–231 | 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 | Not too fussed - maybe include a comment if you like. :) |
is this a performance optimization, or for correctness in some way?