Skip to content

Can't locate generic/monomorphized lines of code #198

@LoganDark

Description

@LoganDark

Hey, I'm trying to use coz to optimize an algorithm written in Rust, but I keep having issues.

There are a couple layers of indirection so coz keeps saying that the program would be faster if the function call to my algorithm was faster. Which is true but useless information. I tried including only the source file where the algorithm is defined, but apparently that causes coz to never find any lines to run experiments on.

This is confusing.

This could be an issue with rustc generating incorrect debug information but I don't know if it is, so I'm opening the issue here first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions