llvm-project/llvm/test/tools/llvm-cov/Inputs
Xinliang David Li f54827f1b8 Fix buildbot failure (hosts without zlib)
llvm-svn: 260446
2016-02-10 22:05:41 +00:00
..
README
binary-formats.macho32b InstrProf: Fix CoverageMappingReader on big endian 2015-03-16 21:40:18 +00:00
binary-formats.macho32l InstrProf: Do a better job of reading coverage mapping data. 2015-03-16 06:55:45 +00:00
binary-formats.macho64l InstrProf: Do a better job of reading coverage mapping data. 2015-03-16 06:55:45 +00:00
binary-formats.proftext InstrProf: Do a better job of reading coverage mapping data. 2015-03-16 06:55:45 +00:00
binary-formats.v1.linux64l [Coverage] add covmap v2 binary format regression test 2016-02-10 20:14:04 +00:00
binary-formats.v2.linux32l Fix buildbot failure (hosts without zlib) 2016-02-10 22:05:41 +00:00
binary-formats.v2.linux64l Fix buildbot failure (hosts without zlib) 2016-02-10 22:05:41 +00:00
copy_block_helper.gcda
copy_block_helper.gcno
elf_binary_comdat.profdata re-submit test case (withright format-version) 2016-01-21 02:35:59 +00:00
gcov47_compatibility.gcda llvm-cov: Fix reading gcov data that does not have function names 2016-02-08 22:49:40 +00:00
gcov47_compatibility.gcno llvm-cov: Fix reading gcov data that does not have function names 2016-02-08 22:49:40 +00:00
highlightedRanges.covmapping InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:36 +00:00
highlightedRanges.profdata
instrprof-comdat.h re-submit test case (withright format-version) 2016-01-21 02:35:59 +00:00
lineExecutionCounts.covmapping llvm-cov: Fix dropped lines when filters were applied 2014-09-19 08:13:16 +00:00
lineExecutionCounts.proftext InstrProf: Fix display of large numbers in llvm-cov 2015-05-13 22:41:48 +00:00
range_based_for.gcda
range_based_for.gcno
regionMarkers.covmapping InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:36 +00:00
regionMarkers.proftext InstrProf: Fix display of large numbers in llvm-cov 2015-05-13 22:41:48 +00:00
report.covmapping llvm-cov: Actually use the command line arguments when reporting 2015-02-14 02:05:05 +00:00
report.profdata llvm-cov: Use the number of executed functions for the function coverage metric. 2014-09-30 12:45:13 +00:00
showExpansions.covmapping InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:36 +00:00
showExpansions.profdata
templateInstantiations.covmapping llvm-cov: Combine segments that cover the same location 2014-09-25 00:34:18 +00:00
templateInstantiations.profdata llvm-cov: Combine segments that cover the same location 2014-09-25 00:34:18 +00:00
test.cpp
test.gcda
test.gcno
test.h
test_-a.cpp.gcov
test_-a.h.gcov
test_-a_-b.cpp.gcov
test_-a_-b.h.gcov
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_-b.output
test_-b_-f.output
test_-f.output
test_exit_block_arcs.gcda llvm-cov: Warn instead of error if a .gcda has arcs from an exit block 2015-03-17 00:18:51 +00:00
test_exit_block_arcs.gcno llvm-cov: Warn instead of error if a .gcda has arcs from an exit block 2015-03-17 00:18:51 +00:00
test_file_checksum_fail.gcda
test_func_checksum_fail.gcda
test_long_file_names.output
test_long_paths.output
test_missing.cpp.gcov
test_missing.h.gcov
test_missing.output
test_no_gcda.cpp.gcov
test_no_gcda.h.gcov
test_no_gcda.output
test_no_options.cpp.gcov
test_no_options.h.gcov
test_no_options.output
test_no_output.output
test_no_preserve_paths.output
test_objdir.cpp.gcov
test_objdir.h.gcov
test_paths.cpp.gcov
test_paths.gcda
test_paths.gcno
test_paths.h.gcov
test_preserve_paths.output
test_read_fail.gcno
universal-binary Now that r231902's test is executed, make it actually pass 2015-03-11 08:17:25 +00:00
universal-binary.proftext InstrProf: Teach llvm-cov to handle universal binaries when given -arch 2015-03-11 02:30:51 +00:00

README

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