diff options
author | Stephen Hines <srhines@google.com> | 2014-12-01 14:51:49 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2014-12-02 16:08:10 -0800 |
commit | 37ed9c199ca639565f6ce88105f9e39e898d82d0 (patch) | |
tree | 8fb36d3910e3ee4c4e1b7422f4f017108efc52f5 /test/tools/llvm-cov/Inputs | |
parent | d2327b22152ced7bc46dc629fc908959e8a52d03 (diff) | |
download | external_llvm-37ed9c199ca639565f6ce88105f9e39e898d82d0.tar.gz external_llvm-37ed9c199ca639565f6ce88105f9e39e898d82d0.tar.bz2 external_llvm-37ed9c199ca639565f6ce88105f9e39e898d82d0.zip |
Update aosp/master LLVM for rebase to r222494.
Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
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 2cfb191796..3773ba3f5e 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 0000000000..20eb0d7e8d --- /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 0000000000..b465b000b0 --- /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 0000000000..9774b89ede --- /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 0000000000..8712227239 --- /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 0000000000..3ebcb0777a --- /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 0000000000..8712227239 --- /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 0000000000..32d84bc727 --- /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 0000000000..aa47be05af --- /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 0000000000..b8c7d9711a --- /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 0000000000..7925c60206 --- /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 0000000000..d243736045 --- /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 0000000000..6ccf526b5f --- /dev/null +++ b/test/tools/llvm-cov/Inputs/templateInstantiations.profdata |