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

Expose fault information to unwind handlers #443

Open
nwf opened this issue Feb 4, 2025 · 0 comments
Open

Expose fault information to unwind handlers #443

nwf opened this issue Feb 4, 2025 · 0 comments

Comments

@nwf
Copy link
Member

nwf commented Feb 4, 2025

The switcher's exception path goes through some significant effort to inform the fault handlers of what happened. However, that information is discarded entirely in the unwind.h machinery and its stackless handler implementation.

  1. It would be ideal if the fault information could be plumbed through to the the unwind handlers.

  2. While the stackless handlers cannot, by necessity, be granted a view of the entire register file, they nevertheless could, but are not, provided with a view of the faulting PCC, which is among the most useful information in an error report (especially while we are without a debugger).

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