This is an archive of the discontinued LLVM Phabricator instance.

Allow users of the GCOV API to extend the FileInfo class to implement custom output formats
ClosedPublic

Authored by marco-c on Jan 6 2018, 7:24 AM.

Details

Summary

The GCOV API can be used to parse gcda/gcno files, but in order to implement custom output formats, users need to reimplement everything.
If the FileInfo members were protected instead of private, they'd be able to reuse the code.

Diff Detail

Event Timeline

marco-c created this revision.Jan 6 2018, 7:24 AM
marco-c removed rL LLVM as the repository for this revision.
davide requested changes to this revision.Jan 7 2018, 1:47 PM

I don't mind this change, but before accepting, can you please show the other bits? (i.e. how do you plan to use these?)

Thanks!

This revision now requires changes to proceed.Jan 7 2018, 1:47 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jul 26 2018, 2:22 AM
This revision was automatically updated to reflect the committed changes.