llvm-project/llvm/test/tools/llvm-cov/Inputs
Dennis Felsing aa0be69e74 Export Segment.IsGapRegion to JSON
Summary:
So that external tools can make use of that information and not display such lines as uncovered.

Fixes https://bugs.llvm.org/show_bug.cgi?id=45300

Reviewers: vsk

Reviewed By: vsk

Differential Revision: https://reviews.llvm.org/D76763
2020-03-27 18:05:01 +01:00
..
multiple_objects
multiple_objects_not_all_instrumented Ignore object files that lack coverage information. 2019-08-28 20:35:50 +00:00
multithreaded_report [llvm-cov] Multi-threaded implementation of prepareFileReports method. 2018-01-05 16:15:07 +00:00
sources_specified
universal_bin_wrapping_archives [Coverage] Load code coverage data from archives 2019-06-13 20:48:57 +00:00
README
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
copy_block_helper.gcda
copy_block_helper.gcno
deferred-regions.covmapping
deferred-regions.profdata
dir-with-filtering.covmapping
dir-with-filtering.proftext
dir-with-filtering1.cpp
dir-with-filtering2.cpp
double_dots.covmapping
double_dots.proftext
elf_binary_comdat.profdata
gcov47_compatibility.gcda
gcov47_compatibility.gcno
hideUnexecutedSubviews.proftext
highlightedRanges.covmapping
highlightedRanges.profdata
ifdef.covmapping
ifdef.profdata
instrprof-comdat.h
lineExecutionCounts.covmapping
lineExecutionCounts.proftext
malformedRegions.covmapping
multiple-files.covmapping
multiple-files.proftext
multiple-files2.covmapping
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
regionMarkers.covmapping
regionMarkers.proftext
report.covmapping
report.profdata
showExpansions.covmapping
showExpansions.json [llvm-cov] Delete custom JSON serialization code (NFC) 2018-09-12 21:59:38 +00:00
showExpansions.profdata
showProjectSummary.covmapping
showProjectSummary.proftext
showProjectSummary.test
showTabsHTML.covmapping
showTabsHTML.proftext
templateInstantiations.covmapping
templateInstantiations.profdata
test.cpp
test.gcda
test.gcno
test.h
test_-a.cpp.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_-a.h.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_-a_-b.cpp.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_-a_-b.h.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_-a_-b_-c_-u.cpp.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_-a_-b_-c_-u.h.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_-a_-b_-u.cpp.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_-a_-b_-u.h.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_-b.output
test_-b_-f.output
test_-f.output
test_exit_block_arcs.gcda
test_exit_block_arcs.gcno
test_file_checksum_fail.gcda
test_func_checksum_fail.gcda
test_hash.output [llvm-cov] Add support for gcov --hash-filenames option 2019-02-19 20:45:00 +00:00
test_long_file_names.output
test_long_paths.output
test_missing.cpp.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
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 [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_no_options.h.gcov
test_no_options.output
test_no_output.output
test_no_preserve_paths.output
test_objdir.cpp.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_objdir.h.gcov
test_paths.cpp.gcov [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
test_paths.gcda
test_paths.gcno
test_paths.h.gcov
test_preserve_paths.output
test_read_fail.gcno
universal-binary
universal-binary.proftext
whitelist1.txt
whitelist2.txt
zeroFunctionFile.covmapping
zeroFunctionFile.h
zeroFunctionFile.proftext

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