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

feat: implement wasm inline functions #1808

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

connor4312
Copy link
Member

This is part 5 in a stacked PR. This will get merged down into a single PR after all of them are reviewed

This is the final part of the initial DWARF debugging work. It implements support for dealing with inlined function calls, such that inline functions appear as normal in the stack, and stepping works. This also improves stepping overall, such that stepping goes between statements rather than assembly instructions.

The linked docs briefly explain how inlined functions work in their API. The largest chunk of code in this PR is refactoring the stacktrace functionality to support these 'fake' callframes.

@connor4312 connor4312 changed the title feat: implement was inline functions feat: implement wasm inline functions Sep 20, 2023
@connor4312 connor4312 merged commit ed66fe3 into connor4312/wasm-14 Sep 20, 2023
8 of 10 checks passed
@connor4312 connor4312 deleted the connor4312/wasm-15 branch September 20, 2023 02:06
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.

2 participants