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

Crash with try statement #688

Closed
wenpen opened this issue Jun 14, 2024 · 3 comments
Closed

Crash with try statement #688

wenpen opened this issue Jun 14, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@wenpen
Copy link
Contributor

wenpen commented Jun 14, 2024

void f(){
}

void test(int x){
  try {
    f();
    if (x) {
      f();
    }
  } catch(...) {
  }
}
@bcardosolopes
Copy link
Member

I'm going to resume exception work pretty soon, assigning to me.

@bcardosolopes bcardosolopes self-assigned this Jun 14, 2024
@seven-mile seven-mile added the bug Something isn't working label Jun 18, 2024
@smeenai
Copy link
Collaborator

smeenai commented Oct 15, 2024

We're able to emit CIR for this now, but lowering still fails.

@smeenai
Copy link
Collaborator

smeenai commented Nov 4, 2024

This works fully now and the emitted LLVM IR looks good. We duplicate the landing pads, which I filed #1052 for, so I'm closing this out.

@smeenai smeenai closed this as completed Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants