Exception Handling #24

Closed
pca006132 wants to merge 8 commits from pca006132:eh-clean into master

Now using the LLVM libunwind for unwinding the EHABI exception information.

Working features:

  • Raise and catch exception.
  • Finding the end of stack.

Not working:

  • Uncatch exception: It has to integrate with the kernel, not yet implemented, would trigger panic when an exception is uncatched.
  • Exception re-raise: The current _Unwind_Resume function in libunwind seems to be buggy, using ordinary raise function now (a bit slower), would investigate on the issue later.
  • Backtrace: The backtrace works in the raise function but not in other functions, still investigating the cause.
Now using the LLVM libunwind for unwinding the EHABI exception information. Working features: * Raise and catch exception. * Finding the end of stack. Not working: * Uncatch exception: It has to integrate with the kernel, not yet implemented, would trigger panic when an exception is uncatched. * Exception re-raise: The current `_Unwind_Resume` function in libunwind seems to be buggy, using ordinary raise function now (a bit slower), would investigate on the issue later. * Backtrace: The backtrace works in the `raise` function but not in other functions, still investigating the cause.

See #25

See #25
pca006132 closed this pull request 2020-06-30 17:34:30 +08:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#24
There is no content yet.