diff options
author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2022-11-03 11:25:40 -0700 |
---|---|---|
committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2022-11-03 14:44:53 -0700 |
commit | e861d053dd43f2e5a63f150ee2f9d1d643ea29c1 (patch) | |
tree | 2d52e2258229b691ac1feba5f60fdba41eb076d3 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
parent | 90608963d40b4765fc95e039d5100940ad822535 (diff) | |
download | llvm-e861d053dd43f2e5a63f150ee2f9d1d643ea29c1.zip llvm-e861d053dd43f2e5a63f150ee2f9d1d643ea29c1.tar.gz llvm-e861d053dd43f2e5a63f150ee2f9d1d643ea29c1.tar.bz2 |
[lldb/Utility] Add GetDescription(Stream&) to StructureData::*
This patch improves the StructuredData classes to provide a
GetDescription(lldb_private::Stream&) affordance.
This is very convenient compared to the Dump method because this try to
pretty print the structure instead of just serializing it into a JSON.
This patch also updates some parts of lldb (i.e. extended crash info) to
use this new affordance instead of StructuredData::Dump.
Differential Revision: https://reviews.llvm.org/D135547
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions