README 885 B

123456789101112131415161718192021
  1. These inputs were pre-generated to allow for easier testing of llvm-cov.
  2. The files used to test the gcov compatible code coverage tool were generated
  3. using the following method:
  4. test.gcno and test.gcda were create by running clang:
  5. clang++ -g -ftest-coverage -fprofile-arcs test.cpp
  6. test.cpp.gcov was created by running gcov 4.2.1:
  7. gcov test.cpp
  8. The 'covmapping' files that are used to test llvm-cov contain raw sections
  9. with the coverage mapping data generated by the compiler and linker. They are
  10. created by running clang and llvm-cov:
  11. clang++ -fprofile-instr-generate -fcoverage-mapping -o test test.cpp
  12. llvm-cov convert-for-testing -o test.covmapping test
  13. The 'profdata' files were generated by running an instrumented version of the
  14. program and merging the raw profile data using llvm-profdata.
  15. ./test
  16. llvm-profdata merge -o test.profdata default.profraw