Add a user guide for code coverage
| Bugzilla Link | 27781 |
| Resolution | FIXED |
| Resolved on | Jun 01, 2016 21:32 |
| Version | trunk |
| OS | All |
| CC | @vns-mn,@igorkudrin,@kcc,@silvasean |
r271454 -> http://clang.llvm.org/docs/SourceBasedCodeCoverage.html
I think we need a separate user guide for PGO that explains e.g how to use -fprofile-use, how to switch between {IR,FE}-based instrumentation, and how to use llvm-profdata to extract information from profiles.
Having a standalone user guide for FE-based code coverage would make it easier to talk about llvm-cov.
This will probably need to do double-duty with PGO since they use the same underlying runtime lib.
Which code coverage? The sanitizer-coverage is documented here: clang.llvm.org/docs/SanitizerCoverage.html
The usual llvm coverage is indeed mostly undocumented, CC-ing David Li.
assigned to @vedantk