[llvm-dwarfdump] --statistics: switch to json::OStream. NFC
authorFangrui Song <maskray@google.com>
Mon, 17 Aug 2020 01:26:13 +0000 (18:26 -0700)
committerFangrui Song <maskray@google.com>
Thu, 20 Aug 2020 19:24:06 +0000 (12:24 -0700)
commitddde8bebb0ce618fdcae969e8b2ac911e842683b
tree55430e9df6edd5d3eba3e8b32aa1e29e90908fd5
parent58c08c444655ed1ddab29d63db832d6e9ff080c2
[llvm-dwarfdump] --statistics: switch to json::OStream. NFC

Then it is trivial to make the output indented (the second parameter of
json::OStream::OStream specifies the indentation).

Reviewed By: jhenderson, echristo

Differential Revision: https://reviews.llvm.org/D86045
llvm/tools/llvm-dwarfdump/Statistics.cpp