diff options
author | Paul Kirth <paulkirth@google.com> | 2022-10-06 23:13:26 +0000 |
---|---|---|
committer | Paul Kirth <paulkirth@google.com> | 2022-10-17 16:42:57 +0000 |
commit | aa123b8c096cc75100f7d87c9cfcc7afaa03cfd1 (patch) | |
tree | 9f4c939ace94afc289b7ce22a8594fc8537e12e2 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 245da0a451e193dc4229ed8aed28cf34fa083ed4 (diff) | |
download | llvm-aa123b8c096cc75100f7d87c9cfcc7afaa03cfd1.zip llvm-aa123b8c096cc75100f7d87c9cfcc7afaa03cfd1.tar.gz llvm-aa123b8c096cc75100f7d87c9cfcc7afaa03cfd1.tar.bz2 |
[llvm-readobj] Improve JSON output
The current implementation outputs JSON in the following way:
[{'<filename>':{'FileSummary':{},...}}]
Using the filename as a key makes processing the JSON data awkward, and
should be avoided. This patch removes that outer key, since the
'FileSummary' data also includes a 'File' field, and so we lose no data.
Reviewed By: jhenderson, leonardchan
Differential Revision: https://reviews.llvm.org/D134843
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions