Skip to content

llvm-cov: Instantiation groups are printed in non-deterministic order #62508

Open
@Zalathar

Description

@Zalathar

When llvm-cov show shows instantiation groups, it seems to print them in a non-deterministic order (presumably influenced by hash bucket order).

This is a hassle for Rust's -Cinstrument-coverage tests, since they have to jump through hoops to ignore instantiation names when comparing output snapshots.

Ideally the instantiations should at least be naïvely sorted by their function name. That would at least be deterministic in the common case where all instantiations have distinct names.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions