diff options
author | Kevin Frei <kevinfrei@users.noreply.github.com> | 2024-02-22 10:26:05 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 10:26:05 -0800 |
commit | da1880cc56060c9da91cbd04daa7f8aa3ea0e829 (patch) | |
tree | e2386de29a1e58583095cfa55ee877166b477eaf /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a23d4ceb8866df91334750627827a1724363e755 (diff) | |
download | llvm-da1880cc56060c9da91cbd04daa7f8aa3ea0e829.zip llvm-da1880cc56060c9da91cbd04daa7f8aa3ea0e829.tar.gz llvm-da1880cc56060c9da91cbd04daa7f8aa3ea0e829.tar.bz2 |
GSym aggregated output to JSON file (#81763)
In order to make tooling around dwarf health easier, I've added an
`--json-summary-file` option to `llvm-gsymutil` that will spit out error
summary data with counts to a JSON file.
I've added the same capability to `llvm-dwarfdump` in a [different
PR.](https://github.com/llvm/llvm-project/pull/81762)
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 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions