[Lldb-commits] [PATCH] D127458: [lldb][bindings] Implement __repr__ instead of __str__

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 10 14:36:35 PDT 2022


jingham accepted this revision.
jingham added a comment.

This looks good to me as well. The job of "recreating the object from an eval of the repr output" is not even possible for many SB objects, by the time the object was made it's lost the factory invocation that produced it.  And anyway, I also can't see a good use case for this.  The fact that this gives us good output in lists of objects is also pretty persuasive.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127458/new/

https://reviews.llvm.org/D127458



More information about the lldb-commits mailing list