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

added support for extracting member names with RECOVER_VAR_NAMES=1 #70

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

AjayBrahmakshatriya
Copy link
Collaborator

This change only affects the configuration RECOVER_VAR_NAMES=1 (and ENABLE_D2X). Previously when dyn_vars are declared inside structs, they won't get a name because the address doesn't match with the parent object. This change also looks for members of structs that are in scope and checks if any member is at the right offset.

This should also improve the static var names extraction in ENABLE_D2X.

Sample55 has been added to test this.

@AjayBrahmakshatriya AjayBrahmakshatriya merged commit 0e320b7 into BuildIt-lang:master Mar 18, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant