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

Deadlock RTTI for recursive structures #82

Closed
travisdoor opened this issue Dec 17, 2019 · 1 comment
Closed

Deadlock RTTI for recursive structures #82

travisdoor opened this issue Dec 17, 2019 · 1 comment
Labels
bug Something isn't working high priority Something with hight priority.
Milestone

Comments

@travisdoor
Copy link
Collaborator

travisdoor commented Dec 17, 2019

RTTI generation for structures containing pointers to "self" cause deadlock in MIR and IR also.

MyStruct :: struct {
    v: *MyStruct;
}

main :: fn () s32 {
    info :: typeinfo(MyStruct);
    return 0;
}
@travisdoor travisdoor added the bug Something isn't working label Dec 17, 2019
@travisdoor travisdoor added this to the 0.5.2 milestone Dec 17, 2019
@travisdoor travisdoor added the high priority Something with hight priority. label Dec 17, 2019
@travisdoor travisdoor pinned this issue Dec 17, 2019
@travisdoor travisdoor unpinned this issue Dec 17, 2019
travisdoor added a commit that referenced this issue Dec 18, 2019
@travisdoor
Copy link
Collaborator Author

Resolved by additional generation pass for pointer types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority Something with hight priority.
Projects
None yet
Development

No branches or pull requests

1 participant