llvm-for-llvmta/test/tools/llvm-cov/Inputs
Nils Hölscher 3500bf8dde first commit 2022-04-25 10:02:23 +02:00
..
multiple_objects first commit 2022-04-25 10:02:23 +02:00
multiple_objects_not_all_instrumented first commit 2022-04-25 10:02:23 +02:00
multithreaded_report first commit 2022-04-25 10:02:23 +02:00
sources_specified first commit 2022-04-25 10:02:23 +02:00
universal_bin_wrapping_archives first commit 2022-04-25 10:02:23 +02:00
README first commit 2022-04-25 10:02:23 +02:00
binary-formats.canonical.json first commit 2022-04-25 10:02:23 +02:00
binary-formats.macho32b first commit 2022-04-25 10:02:23 +02:00
binary-formats.macho32l first commit 2022-04-25 10:02:23 +02:00
binary-formats.macho64l first commit 2022-04-25 10:02:23 +02:00
binary-formats.proftext first commit 2022-04-25 10:02:23 +02:00
binary-formats.v1.linux64l first commit 2022-04-25 10:02:23 +02:00
binary-formats.v2.linux32l first commit 2022-04-25 10:02:23 +02:00
binary-formats.v2.linux64l first commit 2022-04-25 10:02:23 +02:00
binary-formats.v3.macho64l first commit 2022-04-25 10:02:23 +02:00
branch-c-general.c first commit 2022-04-25 10:02:23 +02:00
branch-c-general.o32l first commit 2022-04-25 10:02:23 +02:00
branch-c-general.proftext first commit 2022-04-25 10:02:23 +02:00
branch-logical-mixed.o32l first commit 2022-04-25 10:02:23 +02:00
branch-logical-mixed.proftext first commit 2022-04-25 10:02:23 +02:00
branch-macros.o32l first commit 2022-04-25 10:02:23 +02:00
branch-macros.proftext first commit 2022-04-25 10:02:23 +02:00
branch-showBranchPercentage.o32l first commit 2022-04-25 10:02:23 +02:00
branch-showBranchPercentage.proftext first commit 2022-04-25 10:02:23 +02:00
branch-templates.o32l first commit 2022-04-25 10:02:23 +02:00
branch-templates.proftext first commit 2022-04-25 10:02:23 +02:00
combine_expansions.covmapping first commit 2022-04-25 10:02:23 +02:00
combine_expansions.proftext first commit 2022-04-25 10:02:23 +02:00
deferred-regions.covmapping first commit 2022-04-25 10:02:23 +02:00
deferred-regions.profdata first commit 2022-04-25 10:02:23 +02:00
dir-with-filtering.covmapping first commit 2022-04-25 10:02:23 +02:00
dir-with-filtering.proftext first commit 2022-04-25 10:02:23 +02:00
dir-with-filtering1.cpp first commit 2022-04-25 10:02:23 +02:00
dir-with-filtering2.cpp first commit 2022-04-25 10:02:23 +02:00
double_dots.covmapping first commit 2022-04-25 10:02:23 +02:00
double_dots.proftext first commit 2022-04-25 10:02:23 +02:00
elf_binary_comdat.profdata first commit 2022-04-25 10:02:23 +02:00
hideUnexecutedSubviews.proftext first commit 2022-04-25 10:02:23 +02:00
highlightedRanges.covmapping first commit 2022-04-25 10:02:23 +02:00
highlightedRanges.profdata first commit 2022-04-25 10:02:23 +02:00
ifdef.covmapping first commit 2022-04-25 10:02:23 +02:00
ifdef.profdata first commit 2022-04-25 10:02:23 +02:00
instrprof-comdat.h first commit 2022-04-25 10:02:23 +02:00
lineExecutionCounts.covmapping first commit 2022-04-25 10:02:23 +02:00
lineExecutionCounts.proftext first commit 2022-04-25 10:02:23 +02:00
malformedRegions.covmapping first commit 2022-04-25 10:02:23 +02:00
multiple-files.covmapping first commit 2022-04-25 10:02:23 +02:00
multiple-files.proftext first commit 2022-04-25 10:02:23 +02:00
multiple-files2.covmapping first commit 2022-04-25 10:02:23 +02:00
name_whitelist.covmapping first commit 2022-04-25 10:02:23 +02:00
name_whitelist.cpp first commit 2022-04-25 10:02:23 +02:00
name_whitelist.proftext first commit 2022-04-25 10:02:23 +02:00
native_separators.covmapping first commit 2022-04-25 10:02:23 +02:00
path_equivalence.covmapping first commit 2022-04-25 10:02:23 +02:00
path_equivalence.proftext first commit 2022-04-25 10:02:23 +02:00
prefer_used_to_unused.covmapping first commit 2022-04-25 10:02:23 +02:00
prefer_used_to_unused.cpp first commit 2022-04-25 10:02:23 +02:00
prefer_used_to_unused.proftext first commit 2022-04-25 10:02:23 +02:00
prevent_false_instantiations.covmapping first commit 2022-04-25 10:02:23 +02:00
prevent_false_instantiations.cpp first commit 2022-04-25 10:02:23 +02:00
prevent_false_instantiations.proftext first commit 2022-04-25 10:02:23 +02:00
range_based_for.gcda first commit 2022-04-25 10:02:23 +02:00
range_based_for.gcno first commit 2022-04-25 10:02:23 +02:00
regionMarkers.covmapping first commit 2022-04-25 10:02:23 +02:00
regionMarkers.proftext first commit 2022-04-25 10:02:23 +02:00
report.covmapping first commit 2022-04-25 10:02:23 +02:00
report.profdata first commit 2022-04-25 10:02:23 +02:00
showExpansions.covmapping first commit 2022-04-25 10:02:23 +02:00
showExpansions.json first commit 2022-04-25 10:02:23 +02:00
showExpansions.profdata first commit 2022-04-25 10:02:23 +02:00
showProjectSummary.covmapping first commit 2022-04-25 10:02:23 +02:00
showProjectSummary.proftext first commit 2022-04-25 10:02:23 +02:00
showProjectSummary.test first commit 2022-04-25 10:02:23 +02:00
showTabsHTML.covmapping first commit 2022-04-25 10:02:23 +02:00
showTabsHTML.proftext first commit 2022-04-25 10:02:23 +02:00
templateInstantiations.covmapping first commit 2022-04-25 10:02:23 +02:00
templateInstantiations.profdata first commit 2022-04-25 10:02:23 +02:00
universal-binary first commit 2022-04-25 10:02:23 +02:00
universal-binary.proftext first commit 2022-04-25 10:02:23 +02:00
whitelist1.txt first commit 2022-04-25 10:02:23 +02:00
whitelist2.txt first commit 2022-04-25 10:02:23 +02:00
zeroFunctionFile.covmapping first commit 2022-04-25 10:02:23 +02:00
zeroFunctionFile.h first commit 2022-04-25 10:02:23 +02:00
zeroFunctionFile.proftext first commit 2022-04-25 10:02:23 +02: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