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

Attach more precise meta-data to variables introduced at compile-time #753

Merged
merged 4 commits into from
Mar 15, 2024

Conversation

vbgl
Copy link
Member

@vbgl vbgl commented Mar 13, 2024

Fixes #718.

Partly taken from #736.

cc @J08nY

J08nY and others added 4 commits March 13, 2024 18:46
Dummy variables like the OF, ZF, CF, SF flags currently have dummy variable info (which includes their location). This results in the CT checker printing dummy locations for these flags (which does not help the developer much).

This commit fixes that and passes the instruction location to the variable info (at least on x86, on ARM this is left as a TODO).
@J08nY
Copy link
Contributor

J08nY commented Mar 13, 2024

This is nice!

@bgregoir bgregoir merged commit 2264ad9 into main Mar 15, 2024
1 check passed
@bgregoir bgregoir deleted the fix-718 branch March 15, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiler pass "add array init" creates a lval with a dummy location
4 participants