Skip to content

feat: implement wasm inline functions - #1808

Merged
Connor Peet (connor4312) merged 2 commits into
connor4312/wasm-14from
connor4312/wasm-15
Sep 20, 2023
Merged

Connor Peet (connor4312) merged 2 commits into
connor4312/wasm-14from
connor4312/wasm-15

Conversation

@connor4312

Copy link
Copy Markdown
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 Connor Peet (connor4312) changed the title feat: implement was inline functions feat: implement wasm inline functions Sep 20, 2023
@connor4312
Connor Peet (connor4312) merged commit ed66fe3 into connor4312/wasm-14 Sep 20, 2023
@connor4312
Connor Peet (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