This is an archive of the discontinued LLVM Phabricator instance.

Fix gdb pretty printers to work with Python 3.
ClosedPublic

Authored by ikudrin on Aug 5 2016, 6:37 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

ikudrin updated this revision to Diff 66939.Aug 5 2016, 6:37 AM
ikudrin retitled this revision from to Fix gdb pretty printers to work with Python 3..
ikudrin updated this object.
ikudrin added a reviewer: dblaikie.
ikudrin added a subscriber: llvm-commits.
dblaikie accepted this revision.Aug 5 2016, 8:29 AM
dblaikie edited edge metadata.

Don't know much about Python version differences, but at a glance of the patch & some documentation this seems reasonable.

Glad to see/hear other people are using the pretty printers - how're you finding them?

This revision is now accepted and ready to land.Aug 5 2016, 8:29 AM

They are really helpful, especially for looking into things like SmallVector, which uses AlignedCharArrayUnion to store items. Personally, I'd prefer debug dumpers for QtCreator, but this variant is more universal.

This revision was automatically updated to reflect the committed changes.