[llvm-dev] llvm-cov json file issue

Ruikang Shi via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 17 13:09:34 PDT 2020

Hi all,

I'm Ruikang Shi, an intern working on fuzzbench in Google. Lately, I
encountered an issue with the json file generated by `llvm-cov export`.

The problem is that when I counted the covered regions from the `functions`
field in the json file, the aggregated number is a bit smaller than the
summary count in the `totals` field.

I would be thrilled if you happen to know why this happened.

A reproducer is here https://github.com/Shadoom7/Parsing-llvm-json-file.

Thanks for your time! Have a wonderful day!

Ruikang Shi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200817/52bc5fe7/attachment.html>

More information about the llvm-dev mailing list