[all-commits] [llvm/llvm-project] 81435f: add another test
Maksim Levental via All-commits
all-commits at lists.llvm.org
Sat Jun 13 12:41:48 PDT 2026
Branch: refs/heads/users/makslevental/inline-excl-llvm-cov
Home: https://github.com/llvm/llvm-project
Commit: 81435fc4e5eda29a6299729736f9a8019e8ca3c9
https://github.com/llvm/llvm-project/commit/81435fc4e5eda29a6299729736f9a8019e8ca3c9
Author: makslevental <m_levental at apple.com>
Date: 2026-06-13 (Sat, 13 Jun 2026)
Changed paths:
M mlir/test/mlir-tblgen/gen-dialect-doc.td
Log Message:
-----------
add another test
Commit: 0f0ab35b1a56d74a3ed24c45940f3cf793f7271d
https://github.com/llvm/llvm-project/commit/0f0ab35b1a56d74a3ed24c45940f3cf793f7271d
Author: makslevental <maksim.levental at gmail.com>
Date: 2026-06-13 (Sat, 13 Jun 2026)
Changed paths:
A llvm/test/tools/llvm-cov/Inputs/exclude-markers-custom-region/report-custom-region.covmapping
A llvm/test/tools/llvm-cov/Inputs/exclude-markers-custom-region/report-custom-region.cpp
A llvm/test/tools/llvm-cov/Inputs/exclude-markers-custom-region/report-custom-region.profdata
A llvm/test/tools/llvm-cov/Inputs/exclude-markers-custom/report-custom.covmapping
A llvm/test/tools/llvm-cov/Inputs/exclude-markers-custom/report-custom.cpp
A llvm/test/tools/llvm-cov/Inputs/exclude-markers-custom/report-custom.profdata
A llvm/test/tools/llvm-cov/Inputs/exclude-markers-region/report-region.covmapping
A llvm/test/tools/llvm-cov/Inputs/exclude-markers-region/report-region.cpp
A llvm/test/tools/llvm-cov/Inputs/exclude-markers-region/report-region.profdata
A llvm/test/tools/llvm-cov/Inputs/exclude-markers/report.covmapping
A llvm/test/tools/llvm-cov/Inputs/exclude-markers/report.cpp
A llvm/test/tools/llvm-cov/Inputs/exclude-markers/report.profdata
A llvm/test/tools/llvm-cov/exclude-markers.test
M llvm/tools/llvm-cov/CodeCoverage.cpp
M llvm/tools/llvm-cov/CoverageReport.cpp
M llvm/tools/llvm-cov/CoverageSummaryInfo.h
M llvm/tools/llvm-cov/CoverageViewOptions.h
Log Message:
-----------
[llvm-cov] Add inline exclusion marker support for coverage reporting
Add --exclude-line-regex, --exclude-region-start-regex, and
--exclude-region-stop-regex options to llvm-cov. These allow excluding
lines from coverage totals based on inline source comments.
Defaults: LCOV_EXCL_LINE (single line), LCOV_EXCL_START/LCOV_EXCL_STOP
(region). This brings parity with lcov/gcov exclusion markers and
kcov --exclude-line regex support.
The implementation scans source files for markers when loaded, builds a
per-file set of excluded line numbers, and subtracts them from the line
coverage totals in prepareFileReports().
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
Compare: https://github.com/llvm/llvm-project/compare/81435fc4e5ed%5E...0f0ab35b1a56
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list