Why does the branch coverage of all files show as 0% when using llvm-cov to analyze Swift files? #81730
Labels
code coverage
Area → source tooling: code coverage
compiler
The Swift compiler itself
feature
A feature request or implementation
IRGen
LLVM IR generation
swift 6.2
unexpected behavior
Bug: Unexpected behavior or incorrect output
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?
The text was updated successfully, but these errors were encountered: