[llvm] llvm-dwarfdump --verify aggregated output to JSON file (PR #81762)
Felipe de Azevedo Piovezan via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 15:28:34 PST 2024
================
@@ -286,6 +286,8 @@ static opt<bool> Verify("verify", desc("Verify the DWARF debug info."),
cat(DwarfDumpCategory));
static opt<ErrorDetailLevel> ErrorDetails(
"error-display", init(Unspecified),
+ desc("Set the level of detail and summary to display when verifying "
+ "(implies --verify)"),
values(clEnumValN(NoDetailsOrSummary, "quiet",
"Only display whether errors occurred."),
clEnumValN(NoDetailsOnlySummary, "summary",
----------------
felipepiovezan wrote:
The challenge here is that right now we are only printing the summary (i.e. count + error category) to the json file, so it's not really about the "output-format" of everything printed by the verifier... We should probably let this idea bake in the oven for longer and for now just merge this with a rename of the flag added in the patch?
https://github.com/llvm/llvm-project/pull/81762
More information about the llvm-commits
mailing list