diff options
Diffstat (limited to 'test/tools/llvm-cov/Inputs')
-rw-r--r-- | test/tools/llvm-cov/Inputs/README | 22 | ||||
-rw-r--r-- | test/tools/llvm-cov/Inputs/highlightedRanges.covmapping | bin | 0 -> 355 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/highlightedRanges.profdata | bin | 0 -> 848 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/lineExecutionCounts.covmapping | bin | 0 -> 162 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/lineExecutionCounts.profdata | bin | 0 -> 656 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/regionMarkers.covmapping | bin | 0 -> 194 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/regionMarkers.profdata | bin | 0 -> 656 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/report.covmapping | bin | 0 -> 256 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/report.profdata | bin | 0 -> 800 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/showExpansions.covmapping | bin | 0 -> 194 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/showExpansions.profdata | bin | 0 -> 672 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/templateInstantiations.covmapping | bin | 0 -> 244 bytes | |||
-rw-r--r-- | test/tools/llvm-cov/Inputs/templateInstantiations.profdata | bin | 0 -> 768 bytes |
13 files changed, 18 insertions, 4 deletions
diff --git a/test/tools/llvm-cov/Inputs/README b/test/tools/llvm-cov/Inputs/README index 2cfb1917965c..3773ba3f5e6d 100644 --- a/test/tools/llvm-cov/Inputs/README +++ b/test/tools/llvm-cov/Inputs/README @@ -1,7 +1,21 @@ These inputs were pre-generated to allow for easier testing of llvm-cov. -test.gcno and test.gcda were create by running clang: - clang++ -g -ftest-coverage -fprofile-arcs test.cpp +The files used to test the gcov compatible code coverage tool were generated +using the following method: -test.cpp.gcov was created by running gcov 4.2.1: - gcov test.cpp + test.gcno and test.gcda were create by running clang: + clang++ -g -ftest-coverage -fprofile-arcs test.cpp + + test.cpp.gcov was created by running gcov 4.2.1: + gcov test.cpp + +The 'covmapping' files that are used to test llvm-cov contain raw sections +with the coverage mapping data generated by the compiler and linker. They are +created by running clang and llvm-cov: + clang++ -fprofile-instr-generate -fcoverage-mapping -o test test.cpp + llvm-cov convert-for-testing -o test.covmapping test + +The 'profdata' files were generated by running an instrumented version of the +program and merging the raw profile data using llvm-profdata. + ./test + llvm-profdata merge -o test.profdata default.profraw diff --git a/test/tools/llvm-cov/Inputs/highlightedRanges.covmapping b/test/tools/llvm-cov/Inputs/highlightedRanges.covmapping Binary files differnew file mode 100644 index 000000000000..20eb0d7e8df5 --- /dev/null +++ b/test/tools/llvm-cov/Inputs/highlightedRanges.covmapping diff --git a/test/tools/llvm-cov/Inputs/highlightedRanges.profdata b/test/tools/llvm-cov/Inputs/highlightedRanges.profdata Binary files differnew file mode 100644 index 000000000000..b465b000b037 --- /dev/null +++ b/test/tools/llvm-cov/Inputs/highlightedRanges.profdata diff --git a/test/tools/llvm-cov/Inputs/lineExecutionCounts.covmapping b/test/tools/llvm-cov/Inputs/lineExecutionCounts.covmapping Binary files differnew file mode 100644 index 000000000000..9774b89ede8c --- /dev/null +++ b/test/tools/llvm-cov/Inputs/lineExecutionCounts.covmapping diff --git a/test/tools/llvm-cov/Inputs/lineExecutionCounts.profdata b/test/tools/llvm-cov/Inputs/lineExecutionCounts.profdata Binary files differnew file mode 100644 index 000000000000..871222723967 --- /dev/null +++ b/test/tools/llvm-cov/Inputs/lineExecutionCounts.profdata diff --git a/test/tools/llvm-cov/Inputs/regionMarkers.covmapping b/test/tools/llvm-cov/Inputs/regionMarkers.covmapping Binary files differnew file mode 100644 index 000000000000..3ebcb0777af3 --- /dev/null +++ b/test/tools/llvm-cov/Inputs/regionMarkers.covmapping diff --git a/test/tools/llvm-cov/Inputs/regionMarkers.profdata b/test/tools/llvm-cov/Inputs/regionMarkers.profdata Binary files differnew file mode 100644 index 000000000000..871222723967 --- /dev/null +++ b/test/tools/llvm-cov/Inputs/regionMarkers.profdata diff --git a/test/tools/llvm-cov/Inputs/report.covmapping b/test/tools/llvm-cov/Inputs/report.covmapping Binary files differnew file mode 100644 index 000000000000..32d84bc7273a --- /dev/null +++ b/test/tools/llvm-cov/Inputs/report.covmapping diff --git a/test/tools/llvm-cov/Inputs/report.profdata b/test/tools/llvm-cov/Inputs/report.profdata Binary files differnew file mode 100644 index 000000000000..aa47be05afa7 --- /dev/null +++ b/test/tools/llvm-cov/Inputs/report.profdata diff --git a/test/tools/llvm-cov/Inputs/showExpansions.covmapping b/test/tools/llvm-cov/Inputs/showExpansions.covmapping Binary files differnew file mode 100644 index 000000000000..b8c7d9711afe --- /dev/null +++ b/test/tools/llvm-cov/Inputs/showExpansions.covmapping diff --git a/test/tools/llvm-cov/Inputs/showExpansions.profdata b/test/tools/llvm-cov/Inputs/showExpansions.profdata Binary files differnew file mode 100644 index 000000000000..7925c6020686 --- /dev/null +++ b/test/tools/llvm-cov/Inputs/showExpansions.profdata diff --git a/test/tools/llvm-cov/Inputs/templateInstantiations.covmapping b/test/tools/llvm-cov/Inputs/templateInstantiations.covmapping Binary files differnew file mode 100644 index 000000000000..d24373604513 --- /dev/null +++ b/test/tools/llvm-cov/Inputs/templateInstantiations.covmapping diff --git a/test/tools/llvm-cov/Inputs/templateInstantiations.profdata b/test/tools/llvm-cov/Inputs/templateInstantiations.profdata Binary files differnew file mode 100644 index 000000000000..6ccf526b5f3d --- /dev/null +++ b/test/tools/llvm-cov/Inputs/templateInstantiations.profdata |