so that the user does not have to pipe the output to jq or python -m json.tool.
This change makes testing more convenient because -NEXT patterns can be used.
The "prettify by default" is a good tradeoff to make. The output size increases a bit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Seems reasonable to me, but let's give others a chance to comment.
llvm/test/tools/llvm-dwarfdump/X86/stats-inlining-single-cu.ll | ||
---|---|---|
9–11 | Commas here too? |
llvm/tools/llvm-dwarfdump/Statistics.cpp | ||
---|---|---|
469 | Does this comment need to be changed now? (The original idea was to have an output format that can be parsed by regex / awk and by a full JSON parser, but I'm fine with dropping this requirement.) |
Commas here too?