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

Respect TNTC in stub.cpp #6

Open
mpickering opened this issue Jul 10, 2019 · 0 comments
Open

Respect TNTC in stub.cpp #6

mpickering opened this issue Jul 10, 2019 · 0 comments

Comments

@mpickering
Copy link
Collaborator

There is a hardcoded -1 in stub.cpp. I need to call some function from the RTS to tell me what the correct offset from the info table pointer to the start of the info table struct is.

get_itbl is not appropriate as it works on a closure rather than directly on the misaligned pointer.

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

No branches or pull requests

1 participant