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
test_-a_-b_-c_-u.cpp.gcov
test_-a_-b_-c_-u.h.gcov
test_-a_-b_-u.cpp.gcov
test_-a_-b_-u.h.gcov
test_-a_-b.cpp.gcov
test_-a_-b.h.gcov
test_-a.cpp.gcov
test_-a.h.gcov
test_-b_-f.output
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
test_func_checksum_fail.gcda
test_no_gcda.cpp.gcov
test_no_gcda.h.gcov
test_no_gcda.output llvm-cov: Implement the preserve-paths flag 2014-02-04 10:45:02 +00:00
test_no_options.cpp.gcov
test_no_options.h.gcov
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
test_objdir.h.gcov
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
test.cpp
test.gcda
test.gcno
test.h

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