Skip to content

Conversation

VoxSciurorum
Copy link
Contributor

This fixes a code generation problem in Cheetah's sync_in_personality where a call is converted to a tail call (branch instruction) despite the need to keep the frame alive. The tail call optimization is not done on functions that call a returns-twice function.

I haven't figured out when this broke. The llvm team doesn't care about __builtin_setjmp except as a legacy tool to support exceptions on some old platforms.

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

Successfully merging this pull request may close these issues.

1 participant