The additional fields will be parsed by the llvm-locstats tool in order to produce more human readable output of the debug location quality generated.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Have you considered representing scope coverage using a map from decile to the number of variables in that decile? The map can contain two special keys for 0 and 100 if you'd like, and could be emitted as JSON directly. I expect that will simplify the code substantially (both here and in the locstats utility) and offer more granular reports.
Comment Actions
@vsk Thanks for your comments!
I agree that a map will be good idea.
Since we agree this the right way to proceed with this, I will start cleaning and improving the code.
Comment Actions
-Use std::vector to map more debug location categories in order to have more granular reports