1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/tools/llvm-cov/Inputs
Justin Bogner d27a521c07 Revert "llvm-cov: Remove an overly system specific test"
This fixes a call to sys::fs::equivalent that should've been to
CodeCoverageTool::equivalentFiles, which lets us restore the test of
r217476 that was removed in r217478.

This reverts r217478, but the test works this time.

llvm-svn: 217646
2014-09-11 23:20:48 +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
showExpansions.covmapping Revert "llvm-cov: Remove an overly system specific test" 2014-09-11 23:20:48 +00:00
showExpansions.profdata llvm-cov: Fix a misuse of ArrayRef::slice I introduced in r217430 2014-09-10 06:06:07 +00:00
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_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
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_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
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.

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