summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2016-07-20 03:49:02 +0000
committerJason Molenda <jmolenda@apple.com>2016-07-20 03:49:02 +0000
commitd9c9da536f0df0efa4dfd95e1797c0edc1950589 (patch)
treef69ee6d0cd9556d8d94f65d3f5b222a594e84923 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent074f8d7777c9eb13489982ecbfff198248f5ad57 (diff)
downloadbcm5719-llvm-d9c9da536f0df0efa4dfd95e1797c0edc1950589.tar.gz
bcm5719-llvm-d9c9da536f0df0efa4dfd95e1797c0edc1950589.zip
Add a default-value bool flag pretty_print to the StructuredData Dump methods.
They will dump pretty-print (indentation, extra whitepsace) by default. I'll make a change to ProcessGDBRemote soon so it stops sending JSON strings to debugserver pretty-printed; it's unnecessary extra bytes being sent between the two. llvm-svn: 276079
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
index 1fdf4c70a5d..b460ab59c99 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
@@ -32,7 +32,7 @@ using namespace lldb_private;
using namespace lldb;
void
-StructuredPythonObject::Dump(Stream &s) const
+StructuredPythonObject::Dump(Stream &s, bool pretty_print) const
{
s << "Python Obj: 0x" << GetValue();
}
OpenPOWER on IntegriCloud