Skip to content

llvm-cov show HTML: Inconsistent results between per-file indices and each source file view #119282

Open
@chapuni

Description

@chapuni

Apparently, line counts differ with expansions. The index doesn't look up header files that don't include functions but macros.

I guess actually the difference would come from the behavior difference between getCoverageForFile (source view) and getCoverageForFunction (reports and indices).

I think the index should use getCoverageForFile.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions