Michael Förderer
Michael Förderer
@smavridis Have you done some work on this?
@aytey Have you done something in this direction?
@marxin I've implemented a reader on a private branch but the calls are missing in the JSON format. For now I fallback to human readable format if the calls are...
@marxin Is there a possibility to add the calls also to the JSON format?
How can I test this? Do I need to compile it on my own?
> Yes, please compile it on your own. I can attach an example output, however, the format change is pretty cosmetic. Please can you attach an example?
> Sure, here it is: [gcov-17.json.txt](https://github.com/gcovr/gcovr/files/11212533/gcov-17.json.txt) In the gcov human readable output there is also a callno, e.g.: ``` call 17 returned 9 ``` I also figured out that the...
> Yeah, that's just a zero-based index of a call, that's not much useful I would say. Even if it's only a counter it should be added since the information...
> I see it as rather confusing for normal output as the indices are shared in between calls and branches within a basic-block. That's not super-intuitive. But the info is...
> Why? If you need indices, you can assign integers incrementally. I expect that the IDs are added to the generated file the same way as it is in the...