1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/tools/llvm-cov/Inputs
Fangrui Song 78ddb2f901 [llvm-cov gcov] Support clang<11 fake 4.2 format
Test cases are restored from a3bed4bd3743b5fee1e66116a63089df742bcae1
2020-06-17 10:17:15 -07:00
..
multiple_objects
multiple_objects_not_all_instrumented
multithreaded_report
sources_specified
universal_bin_wrapping_archives
binary-formats.canonical.json Export Segment.IsGapRegion to JSON 2020-03-27 18:05:01 +01:00
binary-formats.macho32b
binary-formats.macho32l
binary-formats.macho64l
binary-formats.proftext
binary-formats.v1.linux64l
binary-formats.v2.linux32l
binary-formats.v2.linux64l
binary-formats.v3.macho64l Reland: [Coverage] Revise format to reduce binary size 2020-02-28 18:12:04 -08:00
combine_expansions.covmapping
combine_expansions.proftext
deferred-regions.covmapping
deferred-regions.profdata
dir-with-filtering1.cpp
dir-with-filtering2.cpp
dir-with-filtering.covmapping
dir-with-filtering.proftext
double_dots.covmapping
double_dots.proftext
elf_binary_comdat.profdata
gcov-4.7.gcda [gcov] Fix .gcda decoding and support GCC 8, 9 and 10 2020-05-10 09:55:23 -07:00
gcov-4.7.gcno [gcov] Fix .gcda decoding and support GCC 8, 9 and 10 2020-05-10 09:55:23 -07:00
gcov-8.gcda [gcov] Fix .gcda decoding and support GCC 8, 9 and 10 2020-05-10 09:55:23 -07:00
gcov-8.gcno [gcov] Fix .gcda decoding and support GCC 8, 9 and 10 2020-05-10 09:55:23 -07:00
gcov-9.gcda [gcov] Fix .gcda decoding and support GCC 8, 9 and 10 2020-05-10 09:55:23 -07:00
gcov-9.gcno [gcov] Fix .gcda decoding and support GCC 8, 9 and 10 2020-05-10 09:55:23 -07:00
gcov-fake-4.2.gcda [llvm-cov gcov] Support clang<11 fake 4.2 format 2020-06-17 10:17:15 -07:00
gcov-fake-4.2.gcno [llvm-cov gcov] Support clang<11 fake 4.2 format 2020-06-17 10:17:15 -07:00
hideUnexecutedSubviews.proftext
highlightedRanges.covmapping
highlightedRanges.profdata
ifdef.covmapping
ifdef.profdata
instrprof-comdat.h
lineExecutionCounts.covmapping
lineExecutionCounts.proftext
malformedRegions.covmapping
multiple-files2.covmapping
multiple-files.covmapping
multiple-files.proftext
name_whitelist.covmapping
name_whitelist.cpp
name_whitelist.proftext
native_separators.covmapping
path_equivalence.covmapping
path_equivalence.proftext
prefer_used_to_unused.covmapping
prefer_used_to_unused.cpp
prefer_used_to_unused.proftext
prevent_false_instantiations.covmapping
prevent_false_instantiations.cpp
prevent_false_instantiations.proftext
range_based_for.gcda
range_based_for.gcno
README
regionMarkers.covmapping
regionMarkers.proftext
report.covmapping
report.profdata
showExpansions.covmapping
showExpansions.json
showExpansions.profdata
showProjectSummary.covmapping
showProjectSummary.proftext
showProjectSummary.test
showTabsHTML.covmapping
showTabsHTML.proftext
templateInstantiations.covmapping
templateInstantiations.profdata
test_file_checksum_fail.gcda
test_func_checksum_fail.gcda
test_no_gcda.cpp.gcov [gcov] Improve .gcno compatibility with gcov and use DataExtractor 2020-06-03 19:29:21 -07:00
test_no_gcda.h.gcov [gcov] Improve .gcno compatibility with gcov and use DataExtractor 2020-06-03 19:29:21 -07:00
test_no_options.cpp.gcov [gcov] Improve .gcno compatibility with gcov and use DataExtractor 2020-06-03 19:29:21 -07:00
test_no_options.h.gcov [gcov] Improve .gcno compatibility with gcov and use DataExtractor 2020-06-03 19:29:21 -07:00
test_paths.gcda [gcov] Improve .gcno compatibility with gcov and use DataExtractor 2020-06-03 19:29:21 -07:00
test_paths.gcno [gcov] Improve .gcno compatibility with gcov and use DataExtractor 2020-06-03 19:29:21 -07:00
test_read_fail.gcno
test.cpp
test.gcda [gcov] Improve .gcno compatibility with gcov and use DataExtractor 2020-06-03 19:29:21 -07:00
test.gcno [gcov] Improve .gcno compatibility with gcov and use DataExtractor 2020-06-03 19:29:21 -07:00
test.h [gcov] Improve .gcno compatibility with gcov and use DataExtractor 2020-06-03 19:29:21 -07:00
universal-binary
universal-binary.proftext
whitelist1.txt
whitelist2.txt
zeroFunctionFile.covmapping
zeroFunctionFile.h
zeroFunctionFile.proftext

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