Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging: Use real names for structs and fields for data "at rest" #177

Open
dpaoliello opened this issue Jul 21, 2023 · 0 comments
Open

Comments

@dpaoliello
Copy link
Collaborator

Currently debugging LLVM-CBE code is horrible. One issue is that we generate names for structs and their fields that don't correspond to the user's original source.

To improve this, we could generate structs based on debugging information and use these structs when storing data (i.e., for locals, parameters, fields in other names structs, etc.). To make code generation easier, any time we use a value that is a struct we can immediately cast it into the anonymous struct type (so that we can access the fields via their indexes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant