Skip to content

Source code location of IR instruction #1070

Open
@xuzhaoch

Description

@xuzhaoch

Feature request

I am using IR files to construct data flow for some specific static code check.
llvmlite helps me to convert ir file to the data which I can use directly.
And I also noticed that at the end of the ir file, there are metadata for every instructions, which can offer the source code location.
Is there any function or interface in the llvmlite, that can give the source code location of every instruction?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions