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

Fix wrong debug codestart of struct variables #309

Merged
merged 1 commit into from Jan 30, 2019

Conversation

@peace-maker
Copy link
Contributor

peace-maker commented Jan 30, 2019

The compiler rewrites the definition address of all variables in the write phase. That second phase uses previous usage knowledge to exclude unused functions, making the binary smaller.

Struct variables are handled in a seperate declstructvar function which missed that write pass fixup.

Set the definition address of struct variables in the write pass es well.

Fixes #308

The compiler rewrites the definition address of all variables in the write phase. That second phase uses previous usage knowledge to exclude unused functions, making the binary smaller.

Struct variables are handled in a seperate `declstructvar` function which missed that write pass fixup.

Set the definition address of struct variables in the write pass es well.

Fixes #308
@dvander dvander merged commit a1d48f2 into alliedmodders:master Jan 30, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@peace-maker peace-maker deleted the peace-maker:struct_codestart branch Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.