[llvm] llvm-dwarfdump --verify aggregated output to JSON file (PR #81762)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 18:52:06 PST 2024


================
@@ -295,6 +297,11 @@ static opt<ErrorDetailLevel> ErrorDetails(
            clEnumValN(BothDetailsAndSummary, "full",
                       "Display each error as well as a summary. [default]")),
     cat(DwarfDumpCategory));
+static opt<std::string> JsonSummaryFile(
+    "json-summary-file", init(""),
----------------
adrian-prantl wrote:

My only (minor) concern with this name is that `--statistics` also outputs JSON, but to stdout and that's a bit odd.

https://github.com/llvm/llvm-project/pull/81762


More information about the llvm-commits mailing list