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