Skip to content

[LLD] Support --print-dependencies #131253

@ogiekako

Description

@ogiekako

mold has --print-dependencies flag, which is useful for analyzing file to file or function to function dependencies. An example use case of the flag is to build a dependency graph and mechanically detect unused files/functions.

I'd appreciate it if lld supports the equivalent functionality. I could use mold, but my project doesn't/won't officially support it, so using it is risky.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImproving things as opposed to bug fixing, e.g. new or missing featurelld

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions