A patch which implements the data structures, the reader, and the writers for the new code coverage mapping system.
Based on the earlier proposal: http://comments.gmane.org/gmane.comp.compilers.clang.devel/37289
Details
- Reviewers
bob.wilson arphaman bogner dexonsmith
Diff Detail
Event Timeline
The updated version of the patch that fixes various typos, adds format version to the coverage mapping format, changes the storage of filenames to once per tu, and adds document that describes the actual coverage mapping format.
The documentation is going to need more work. Let’s split that out into a separate patch. At least it helps me understand how the reader and writer work.
Thanks again for the review, I've implemented the suggested changes. I also merged the coverage mapping data into one section - this reduced the object file size for the test programs by 4.5% on average.
Updated patch with the 'coverage' namespace, name case fixes and shared encoding constant.
Committed in r213909 and r213910 (forgot to add the new files in the first
one).
2014-07-24 16:17 GMT-07:00 Bob Wilson <bob.wilson@apple.com>:
Looks good. Please commit!