llvm-project/llvm/test/tools/llvm-cov/Inputs
Justin Bogner d0ceebf160 InstrProf: Fix display of large numbers in llvm-cov
llvm-cov was truncating numbers that were larger than a particular
fixed width, which is as confusing as it is useless. Instead, we use
engineering notation with SI prefix for magnitude.

llvm-svn: 237307
2015-05-13 22:41:48 +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
copy_block_helper.gcda
copy_block_helper.gcno
highlightedRanges.covmapping
highlightedRanges.profdata
lineExecutionCounts.covmapping
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
regionMarkers.proftext InstrProf: Fix display of large numbers in llvm-cov 2015-05-13 22:41:48 +00:00
report.covmapping
report.profdata
showExpansions.covmapping
showExpansions.profdata
templateInstantiations.covmapping
templateInstantiations.profdata
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