llvm-6502/test/tools/llvm-cov/Inputs
Alex Lorenz 6c7a6a1ba2 llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo.
This commit expands llvm-cov's functionality by adding support for a new code coverage
tool that uses LLVM's coverage mapping format and clang's instrumentation based profiling.
The gcov compatible tool can be invoked by supplying the 'gcov' command as the first argument,
or by modifying the tool's name to end with 'gcov'.

Differential Revision: http://reviews.llvm.org/D4445


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216300 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-22 22:56:03 +00:00
..
copy_block_helper.gcda llvm-cov: Handle functions with no line number 2014-03-26 22:03:06 +00:00
copy_block_helper.gcno llvm-cov: Handle functions with no line number 2014-03-26 22:03:06 +00:00
highlightedRanges.covmapping llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo. 2014-08-22 22:56:03 +00:00
highlightedRanges.profdata llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo. 2014-08-22 22:56:03 +00:00
lineExecutionCounts.covmapping llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo. 2014-08-22 22:56:03 +00:00
lineExecutionCounts.profdata llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo. 2014-08-22 22:56:03 +00:00
range_based_for.gcda llvm-cov: Fix handling of line zero appearing in a line table 2014-05-02 20:01:24 +00:00
range_based_for.gcno llvm-cov: Fix handling of line zero appearing in a line table 2014-05-02 20:01:24 +00:00
README llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo. 2014-08-22 22:56:03 +00:00
regionMarkers.covmapping llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo. 2014-08-22 22:56:03 +00:00
regionMarkers.profdata llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo. 2014-08-22 22:56:03 +00:00
test_-a_-b_-c_-u.cpp.gcov llvm-cov: Added -c option for branch counts. 2013-12-18 18:40:15 +00:00
test_-a_-b_-c_-u.h.gcov llvm-cov: Added -c option for branch counts. 2013-12-18 18:40:15 +00:00
test_-a_-b_-u.cpp.gcov llvm-cov: Added -u option for unconditional branch info. 2013-12-16 22:14:02 +00:00
test_-a_-b_-u.h.gcov llvm-cov: Added -u option for unconditional branch info. 2013-12-16 22:14:02 +00:00
test_-a_-b.cpp.gcov llvm-cov: Added -b option for branch probabilities. 2013-12-13 01:15:07 +00:00
test_-a_-b.h.gcov llvm-cov: Added -b option for branch probabilities. 2013-12-13 01:15:07 +00:00
test_-a.cpp.gcov llvm-cov: Added -a option for block data. 2013-12-10 01:02:07 +00:00
test_-a.h.gcov llvm-cov: Added -a option for block data. 2013-12-10 01:02:07 +00:00
test_-b_-f.output llvm-cov: Added -f option for function summaries. 2013-12-19 00:29:25 +00:00
test_-b.output llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_-f.output llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_file_checksum_fail.gcda Un-revert r196358: "llvm-cov: Added support for function checksums." 2013-12-04 08:57:17 +00:00
test_func_checksum_fail.gcda Un-revert r196358: "llvm-cov: Added support for function checksums." 2013-12-04 08:57:17 +00:00
test_long_file_names.output llvm-cov: Add support for gcov's --long-file-names option 2014-04-23 21:44:55 +00:00
test_long_paths.output llvm-cov: Add support for gcov's --long-file-names option 2014-04-23 21:44:55 +00:00
test_missing.cpp.gcov llvm-cov: Handle missing source files as GCOV does 2014-05-07 02:11:23 +00:00
test_missing.h.gcov llvm-cov: Handle missing source files as GCOV does 2014-05-07 02:11:23 +00:00
test_missing.output llvm-cov: Handle missing source files as GCOV does 2014-05-07 02:11:23 +00:00
test_no_gcda.cpp.gcov llvm-cov: Ignore missing .gcda files 2014-02-04 06:41:39 +00:00
test_no_gcda.h.gcov llvm-cov: Ignore missing .gcda files 2014-02-04 06:41:39 +00:00
test_no_gcda.output llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_no_options.cpp.gcov llvm-cov: Added -a option for block data. 2013-12-10 01:02:07 +00:00
test_no_options.h.gcov llvm-cov: Added -a option for block data. 2013-12-10 01:02:07 +00:00
test_no_options.output llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_no_output.output llvm-cov: Implement --no-output 2014-05-07 02:11:18 +00:00
test_no_preserve_paths.output llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_objdir.cpp.gcov llvm-cov: Implement the object-directory flag 2014-02-04 06:41:43 +00:00
test_objdir.h.gcov llvm-cov: Implement the object-directory flag 2014-02-04 06:41:43 +00:00
test_paths.cpp.gcov llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_paths.gcda llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_paths.gcno llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_paths.h.gcov llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_preserve_paths.output llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_read_fail.gcno Un-revert r196358: "llvm-cov: Added support for function checksums." 2013-12-04 08:57:17 +00:00
test.cpp llvm-cov: Added test.h header to tests. 2013-12-07 01:28:11 +00:00
test.gcda llvm-cov: Added test.h header to tests. 2013-12-07 01:28:11 +00:00
test.gcno llvm-cov: Added test.h header to tests. 2013-12-07 01:28:11 +00:00
test.h llvm-cov: Added test.h header to tests. 2013-12-07 01:28:11 +00:00

These inputs were pre-generated to allow for easier testing of llvm-cov.

The files used to test the gcov compatible code coverage tool were generated
using the following method:

  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