llvm-project/llvm/test/tools/llvm-cov/Inputs
Justin Bogner cf27e1b996 llvm-cov: Handle missing source files as GCOV does
If the source files referenced by a gcno file are missing, gcov
outputs a coverage file where every line is simply /*EOF*/.  This also
occurs for lines in the coverage that are past the end of a file that
is found.

This change mimics gcov.

llvm-svn: 208149
2014-05-07 02:11:23 +00:00
..
README Added basic unit test for llvm-cov. 2013-11-13 22:50:15 +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
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
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
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_-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_-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_-b.output llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_-b_-f.output llvm-cov: Added -f option for function summaries. 2013-12-19 00:29:25 +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

README

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

test.cpp.gcov was created by running gcov 4.2.1:
  gcov test.cpp