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 names from the debug info to name generated locals #176

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 all the locals generated have names that don't correspond to the original source's names at all.

To improve this, we could name generated locals based off information from the debugging info, for example if the debugging info indicates that the value we are generating corresponds with the local index, then maybe we should name the generated local _1_index instead of _1.

This would require keeping track of these generated names so that downstream instructions will use the correct local name.

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