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

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 09:53:18 PST 2024


================
@@ -295,6 +295,10 @@ static opt<ErrorDetailLevel> ErrorDetails(
            clEnumValN(BothDetailsAndSummary, "full",
                       "Display each error as well as a summary. [default]")),
     cat(DwarfDumpCategory));
+static opt<std::string> AggregationJsonFile(
+    "aggregate-output-file", cl::init(""),
+    cl::desc("Output JSON-formatted error summary to the specified file."),
----------------
adrian-prantl wrote:

I think the documentation makes it unclear whether this is supposed to be used only in conjunction with `--verify`?

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


More information about the llvm-commits mailing list