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

nolongjmp attribute #38

Open
DavidPH opened this issue Jan 10, 2019 · 2 comments
Open

nolongjmp attribute #38

DavidPH opened this issue Jan 10, 2019 · 2 comments

Comments

@DavidPH
Copy link
Owner

DavidPH commented Jan 10, 2019

Similar to C++'s noexcept, it would be useful to be able to mark functions are not generating/propagating long jumps so that callers can omit the post-call check. There should also be a way to set this in bulk. Possibly a pragma and/or option.

@AlexAltea
Copy link

Just curious, is there any such attribute offered by other C compilers?

@DavidPH
Copy link
Owner Author

DavidPH commented Feb 19, 2019

Not as far as I am aware, but there is not the same kind of passive overhead for long jump propagation when targeting normal hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants