Skip to content

Debug information in MLIR output from cgeist #425

Description

@argentite

We are trying to use cgeist -S to convert C/C++ source code to MLIR for further processing. However the generated MLIR output does not have any source line information. We tried -g, --debugify-level=locations and --debugify-level=location+variables but that does not seem to add anything. Generated binaries with cgeist also does not seem to include any debug information.

Is it possible to get file and/or line number information of the C/C++ source to aid in debugging?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions