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

Check that linking in extern struct definitions invalidates the type layout cache #6558

Closed
expipiplus1 opened this issue Mar 10, 2025 · 0 comments · Fixed by #6567
Closed
Assignees

Comments

@expipiplus1
Copy link
Collaborator

Another thing is if I lookup and get type layout first from a single IModile, then lookup and the type layout from a linked program on the same struct with extern field, will I get the up to date layout? iIRC we cache type layout on the type itself inside a dictionary owned by the module or something, and if so we may return the wrong result.

Originally posted by @csyonghe in #6450 (comment)

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 a pull request may close this issue.

1 participant