Add a default-value bool flag pretty_print to the StructuredData Dump methods.
authorJason Molenda <jmolenda@apple.com>
Wed, 20 Jul 2016 03:49:02 +0000 (03:49 +0000)
committerJason Molenda <jmolenda@apple.com>
Wed, 20 Jul 2016 03:49:02 +0000 (03:49 +0000)
commitd9c9da536f0df0efa4dfd95e1797c0edc1950589
treef69ee6d0cd9556d8d94f65d3f5b222a594e84923
parent074f8d7777c9eb13489982ecbfff198248f5ad57
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
lldb/include/lldb/Core/StructuredData.h
lldb/source/Core/StructuredData.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h