llvm-6502/test/tools/llvm-cov/Inputs
Justin Bogner 01c0550584 llvm-cov: Implement the preserve-paths flag
Until now, when a path in a gcno file included a directory, we would
emit our .gcov file in that directory, whereas gcov always emits the
file in the current directory. In doing so, this implements gcov's
strange name-mangling -p flag, which is needed to avoid clobbering
files when two with the same name exist in different directories.

The path mangling is a bit ugly and only handles unix-like paths, but
it's simple, and it doesn't make any guesses as to how it should
behave outside of what gcov documents. If we decide this should be
cross platform later, we can consider the compatibility implications
then.

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

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