Skip to content

llvm-cov: No way to exclude coverage in a line or part of code #33625

@def-

Description

@def-
Bugzilla Link 34277
Version trunk
OS Linux
CC @Dor1s

Extended Description

Lcov support LCOV_EXCL_LINE and LCOV_EXCL_START / LCOV_EXCL_END in order to exclude a part of the code from coverage. I couldn't find a similar mechanism for llvm-cov. This can be useful when a bug in llvm-cov prevents you from reaching an enforced 100% coverage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaenhancementImproving things as opposed to bug fixing, e.g. new or missing featuretools:llvm-cov

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions