llvm-6502/test/tools/llvm-cov/Inputs
Yuchen Wu 30d5ef51e4 llvm-cov: Added -a option for block data.
Similar to gcov, llvm-cov will now print out the block count at the end
of each block. Multiple blocks can end on the same line.

One computational difference is by using -a, llvm-cov will no longer
simply add the block counts together to form a line count. Instead, it
will take the maximum of the block counts on that line. This has a
similar effect to what gcov does, but generates more correct counts in
certain scenarios.

Also updated tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196856 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-10 01:02:07 +00:00
..
README Added basic unit test for llvm-cov. 2013-11-13 22:50:15 +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_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_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_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.

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