[cfe-dev] [analyzer] gdb pretty printers for analyzer specific types
Artem Dergachev via cfe-dev
cfe-dev at lists.llvm.org
Wed Aug 5 12:16:33 PDT 2020
Do i understand correctly that you're basically advocating for a QoL
change that'll make lldb commands `p V` and `p V.dump()` equivalent?
On 05.08.2020 10:40, Balázs Benics via cfe-dev wrote:
> I was thinking about some pretty printers.
> And I'm thinking about SVals and SymExprs specifically.
> Why do we have no pretty printers for such types?
> I guess we could reuse their dump() method to acquire string
> The only problem is that that dumps the output to the /standard error
> What options do I have to get a python pretty-printer using this dump
> Another possible way to implement such a pretty printer is to hardcode
> the SVal
> kinds in python to do the right thing for each case.
> I'm not really a big fan of this way though.
> If you have experience with gdb pretty printers then your comments
> more then welcomed.
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev