Skip to content

Why does the branch coverage of all files show as 0% when using llvm-cov to analyze Swift files? #81730

Open
@ZhengXiuQun

Description

@ZhengXiuQun

Description

Why does the branch coverage of all files show as 0% when using llvm-cov to analyze Swift files? The llvm developer replied that it is because Swift does not support generating branch coverage. Is that true?

Reproduction

Expected behavior

Why does the branch coverage of all files show as 0% when using llvm-cov to analyze Swift files?

Environment

Latest

Additional information

Why does the branch coverage of all files show as 0% when using llvm-cov to analyze Swift files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    IRGenLLVM IR generationcode coverageArea → source tooling: code coveragecompilerThe Swift compiler itselffeatureA feature request or implementationswift 6.2unexpected behaviorBug: Unexpected behavior or incorrect output

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions