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 the LLVM exception system in Why3 generation #2

Open
iconmaster5326 opened this issue Oct 21, 2016 · 0 comments
Open

Handle the LLVM exception system in Why3 generation #2

iconmaster5326 opened this issue Oct 21, 2016 · 0 comments
Labels

Comments

@iconmaster5326
Copy link
Member

LLVM has instructions made for exception handling, which are used by compilers such as clang++. However, we currently are not able to model these instructions in WhyR. To support all of LLVM, exceptions will have to be modeled.

This is difficult for various reasons:

  • It requires non-local branching in some cases
  • Exception handling is scoped dynamically
  • The inputs to catch blocks are decided by "personality functions" in LLVM, which are essentially black boxes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant