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

Handle AddrSpace casts #160

Open
artemdinaburg opened this issue Jul 15, 2021 · 2 comments
Open

Handle AddrSpace casts #160

artemdinaburg opened this issue Jul 15, 2021 · 2 comments

Comments

@artemdinaburg
Copy link
Contributor

We will eventually have to handle address space casts to support things like __thread and various memory specifications for embedded platforms. How to properly handle these is very machine context dependent and will need some kind of target-platform based configuration.

@surovic
Copy link
Collaborator

surovic commented Jul 15, 2021

Potential solution : __attribute__((address_space(N)))

@artemdinaburg
Copy link
Contributor Author

I really like the attribute solution; it should work well enough for most cases and is much better than just ignoring the addrspace change.

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

2 participants