diff options
| author | Kevin Frei <kevinfrei@users.noreply.github.com> | 2024-02-28 10:43:49 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-28 10:43:49 -0800 |
| commit | 6244dfef5cd45f1395c66abbe061c6a7eb002676 (patch) | |
| tree | 4fb200df2735cc9914a647b3073cff95033ec961 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | baf6725b38491222f40a3c40bd27e57b0dd7f1f9 (diff) | |
llvm-dwarfdump --verify aggregated output to JSON file (#81762)
In order to make tooling around dwarf health easier, I've added an `--verify-json` option to `llvm-dwarfdump --verify` that will spit out error summary data with counts to a JSON file.
I've added the same capability to `llvm-gsymutil` in a [different PR.](https://github.com/llvm/llvm-project/pull/81763)
The format of the json is:
``` json
{
"error-categories": {
"<first category description>": {"count": 1234},
"<next category description>": {"count":4321}
},
"error-count": 5555
}
```
for a clean run:
``` json
{
"error-categories": {},
"error-count": 0
}
```
---------
Co-authored-by: Kevin Frei <freik@meta.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
