Home
last modified time | relevance | path

Searched refs:coverage (Results 1 – 25 of 203) sorted by relevance

123456789

/openbsd/gnu/llvm/llvm/tools/llvm-cov/
H A DCoverageFilters.cpp21 const coverage::CoverageMapping &, in matches()
22 const coverage::FunctionRecord &Function) const { in matches()
28 const coverage::CoverageMapping &, in matches()
29 const coverage::FunctionRecord &Function) const { in matches()
38 const coverage::CoverageMapping &, in matches()
39 const coverage::FunctionRecord &Function) const { in matches()
44 const coverage::CoverageMapping &CM, in matches()
45 const coverage::FunctionRecord &Function) const { in matches()
51 const coverage::CoverageMapping &CM, in matches()
52 const coverage::FunctionRecord &Function) const { in matches()
[all …]
H A DCoverageFilters.h23 namespace coverage {
34 virtual bool matches(const coverage::CoverageMapping &CM, in matches()
35 const coverage::FunctionRecord &Function) const { in matches()
52 bool matches(const coverage::CoverageMapping &CM,
53 const coverage::FunctionRecord &Function) const override;
63 bool matches(const coverage::CoverageMapping &CM,
78 bool matches(const coverage::CoverageMapping &CM,
115 bool matches(const coverage::CoverageMapping &CM,
127 bool matches(const coverage::CoverageMapping &CM,
144 bool matches(const coverage::CoverageMapping &CM,
[all …]
H A DCoverageExporterLcov.cpp57 const iterator_range<coverage::FunctionRecordIterator> &Functions) { in renderFunctions()
68 coverage::LineCoverageIterator LCI{FileCoverage, 1}; in renderLineExecutionCounts()
69 coverage::LineCoverageIterator LCIEnd = LCI.getEnd(); in renderLineExecutionCounts()
71 const coverage::LineCoverageStats &LCS = *LCI; in renderLineExecutionCounts()
78 std::vector<llvm::coverage::CountedRegion>
79 collectNestedBranches(const coverage::CoverageMapping &Coverage, in collectNestedBranches()
82 std::vector<llvm::coverage::CountedRegion> Branches; in collectNestedBranches()
108 bool sortLine(llvm::coverage::CountedRegion I, in sortLine()
109 llvm::coverage::CountedRegion J) { in sortLine()
117 std::vector<llvm::coverage::CountedRegion> Branches = in renderBranchExecutionCounts()
[all …]
H A DCoverageExporterJson.cpp79 json::Array renderSegment(const coverage::CoverageSegment &Segment) { in renderSegment()
85 json::Array renderRegion(const coverage::CountedRegion &Region) { in renderRegion()
92 json::Array renderBranch(const coverage::CountedRegion &Region) { in renderBranch()
100 json::Array renderRegions(ArrayRef<coverage::CountedRegion> Regions) { in renderRegions()
115 std::vector<llvm::coverage::CountedRegion>
116 collectNestedBranches(const coverage::CoverageMapping &Coverage, in collectNestedBranches()
118 std::vector<llvm::coverage::CountedRegion> Branches; in collectNestedBranches()
137 json::Object renderExpansion(const coverage::CoverageMapping &Coverage, in renderExpansion()
139 std::vector<llvm::coverage::ExpansionRecord> Expansions = {Expansion}; in renderExpansion()
209 json::Object renderFile(const coverage::CoverageMapping &Coverage, in renderFile()
[all …]
H A DCoverageReport.h25 const coverage::CoverageMapping &Coverage;
33 const coverage::CoverageMapping &Coverage) in CoverageReport()
41 prepareFileReports(const coverage::CoverageMapping &Coverage,
48 const coverage::CoverageMapping *Coverage,
H A DSourceCoverageViewHTML.h20 using namespace coverage; variable
33 const coverage::CoverageMapping &Coverage,
93 coverage::CoverageData &&CoverageInfo) in SourceCoverageViewHTML()
H A DCoverageExporter.h27 const coverage::CoverageMapping &Coverage;
35 CoverageExporter(const coverage::CoverageMapping &CoverageMapping, in CoverageExporter()
/openbsd/gnu/llvm/llvm/utils/lit/utils/
H A Dcheck-coverage32 rm -f tests/.coverage
33 find tests -name .coverage.\* -exec rm {} \;
36 lit -sv --param check-coverage=1 "$@"
39 find tests/* -name .coverage.\* -exec mv {} tests \;
42 (cd tests && python -m coverage combine)
45 (cd tests && python -m coverage report)
49 (cd tests && python -m coverage html)
/openbsd/gnu/llvm/llvm/docs/CommandGuide/
H A Dllvm-cov.rst1 llvm-cov - emit coverage information
319 .. option:: -line-coverage-gt=<N>
321 Show code coverage only for functions with line coverage greater than the
324 .. option:: -line-coverage-lt=<N>
326 Show code coverage only for functions with line coverage less than the given
329 .. option:: -region-coverage-gt=<N>
331 Show code coverage only for functions with region coverage greater than the
334 .. option:: -region-coverage-lt=<N>
336 Show code coverage only for functions with region coverage less than the given
349 coverage >= high, red when coverage < low, and yellow otherwise. Both high and
[all …]
H A Dllvm-locstats.rst48 compare the debug location coverage on two files provided, and draw
60 Pretty print the location coverage on the standard output.
106 coverage.
/openbsd/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_activation.cpp30 bool coverage; member
56 cf.coverage = coverage; in OverrideFromActivationFlags()
75 coverage = cf.coverage; in OverrideFromActivationFlags()
89 allocator_options.may_return_null, coverage, coverage_dir, in Print()
104 asan_deactivated_flags.coverage = common_flags()->coverage; in AsanDeactivate()
/openbsd/gnu/llvm/clang/docs/
H A DSourceBasedCodeCoverage.rst21 This is enabled by ``-ftest-coverage`` or ``--coverage``.
25 The code coverage workflow
30 * Compiling with coverage enabled.
34 * Creating coverage reports.
53 Compiling with coverage enabled
61 # Step 1: Compile with coverage enabled.
134 Creating coverage reports
212 # Step 3(c): Create a coverage summary.
244 Exporting coverage data
284 branch coverage is the most granular. 100% branch coverage for a function
[all …]
H A DSanitizerCoverage.rst14 simple coverage reporting and visualization,
176 or ``-fsanitize-coverage=inline-bool-flag``, or ``-fsanitize-coverage=trace-pc-guard``.
191 // callbacks (-fsanitize-coverage=trace-pc-guard).
218 like this: ``-fsanitize-coverage=func,trace-pc-guard``.
226 Edge coverage
275 and with ``-fsanitize-coverage=trace-gep`` --
278 Similarly, with ``-fsanitize-coverage=trace-loads`` and ``-fsanitize-coverage=trace-stores``
402 With ``-fsanitize-coverage-allowlist=allowlist.txt``
403 and ``-fsanitize-coverage-ignorelist=blocklist.txt``,
472 % ASAN_OPTIONS=coverage=1 ./a.out; wc -c *.sancov
[all …]
/openbsd/gnu/gcc/gcc/
H A Dgcov.c242 coverage_t coverage; member
524 coverage_t coverage; in process_file() local
526 memset (&coverage, 0, sizeof (coverage)); in process_file()
1315 coverage->calls++; in add_branch_counts()
1382 if (coverage->lines) in function_summary()
1384 format_gcov (coverage->lines_executed, coverage->lines, 2), in function_summary()
1385 coverage->lines); in function_summary()
1406 format_gcov (coverage->calls_executed, coverage->calls, 2), in function_summary()
1407 coverage->calls); in function_summary()
1513 if (coverage) in add_line_counts()
[all …]
/openbsd/gnu/llvm/llvm/cmake/modules/
H A DCoverageReport.cmake1 # if coverage reports are not enabled, skip all of this
7 "${LLVM_SOURCE_DIR}/utils/prepare-code-coverage-artifact.py"
18 …message(WARNING "Could not find code coverage tools, skipping generating targets. You may explicit…
22 set(LLVM_CODE_COVERAGE_TARGETS "" CACHE STRING "Targets to run code coverage on (defaults to all ex…
26 # by default run the coverage report across all the exports provided
41 set(LLVM_COVERAGE_SOURCE_DIRS "" CACHE STRING "Source directories to restrict coverage reports to.")
57 # automaticall plumb through the targets that we want to run coverage against.
58 add_custom_target(generate-coverage-report
/openbsd/gnu/llvm/llvm/docs/
H A DCoverageMappingFormat.rst14 LLVM's code coverage mapping format is used to provide code coverage
66 coverage mapping format works.
79 the `file id <coverage file id_>`_, the `coverage mapping counter`_ and
87 the various code coverage statistics for a function.
187 coverage mapping counters or other expressions.
245 The coverage mapping variable generated by Clang has 2 fields:
321 The coverage mapping header has the following fields:
350 IR for the `coverage mapping sample`_ that was shown earlier:
353 coverage mapping data for the sample translation unit:
385 …| ``0x01`` | The coverage mapping counter for the first region in this function. The value of 1 te…
[all …]
H A DHowToBuildWithPGO.rst50 By default, the script above does two things to get solid coverage. It:
58 - solid coverage of building C++,
59 - good coverage of building C,
60 - great coverage of running optimizations,
61 - great coverage of the backend for your host's architecture, and
62 - some coverage of other architectures (if other arches are supported backends).
129 ``-DCMAKE_BUILD_TYPE=Release``. This will grant better coverage of
134 since more coverage is often better.
167 this for coverage as part of step 3, none of your other builds should benefit
/openbsd/gnu/llvm/llvm/bindings/python/
H A DREADME.txt40 You should strive for high code coverage. To see current coverage:
42 pip install coverage
43 nosetests --with-coverage --cover-html
45 Then open cover/index.html in your browser of choice to see the code coverage.
/openbsd/gnu/llvm/libcxx/
H A D.gitignore29 # Unit test / coverage reports
32 .coverage
35 coverage.xml
/openbsd/gnu/llvm/libcxxabi/
H A D.gitignore39 # Unit test / coverage reports
42 .coverage
45 coverage.xml
/openbsd/gnu/llvm/libcxx/cmake/Modules/
H A DCodeCoverage.cmake16 set(CMAKE_CXX_FLAGS_COVERAGE "-g -O0 --coverage")
42 add_custom_target(generate-lib${target_name}-coverage
49 COMMENT "Generating coverage results")
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dgcov.c170 struct coverage struct
271 struct coverage *));
274 struct coverage *, long));
1077 struct coverage *function; in accumulate_branch_counts()
1103 struct coverage *function;
1182 struct coverage *function; in function_summary()
1299 struct coverage *total;
1304 struct coverage function;
1305 struct coverage *func_ptr = NULL;
1455 const struct coverage *total;
[all …]
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DCodeGenOptions.def87 CODEGENOPT(EmitGcovArcs , 1, 0) ///< Emit coverage data files, aka. GCDA.
221 ///< enable code coverage analysis.
262 CODEGENOPT(SanitizeCoverageType, 2, 0) ///< Type of sanitizer coverage
267 ///< in sanitizer coverage.
269 ///< in sanitizer coverage.
271 ///< in sanitizer coverage.
273 ///< in sanitizer coverage.
275 ///< in sanitizer coverage.
277 ///< in sanitizer coverage.
279 ///< in sanitizer coverage.
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_fuchsia.cpp74 if (end > start && *start == 0 && common_flags()->coverage) { in InitTracePcGuard()
130 DCHECK(common_flags()->coverage); in Setup()
200 CHECK_EQ(enabled, common_flags()->coverage); in InitializeCoverage()
/openbsd/gnu/usr.bin/perl/cpan/IPC-SysV/t/
H A Dpodcov.t32 plan skip_all => "testing pod coverage requires Pod::Coverage 0.10" if $@;
35 plan skip_all => "testing pod coverage requires Test::Pod::Coverage 1.08" if $@;

123456789