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

[DWARF] Export debug builtins on Windows #9706

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

SingleAccretion
Copy link
Contributor

@SingleAccretion SingleAccretion commented Dec 2, 2024

This allows the debugger to find them.

After much research, this has been chosen as the overall best solution to #9657. The alternative here would be to create machine code thunks that call these symbols when Jitting code, and describing those thunks in DWARF, which would be significantly more complex.

Closes #9657.

@SingleAccretion SingleAccretion force-pushed the DI-WinSym branch 3 times, most recently from 4928053 to 8b3e274 Compare December 2, 2024 20:09
This allows the debugger to find them.

After much research, this has been chosen as the overall best solution.
The alternative here would be to create machine code thunks that call
these symbols when Jitting code, and describing those thunks in DWARF,
which would be significantly more complex.
@SingleAccretion SingleAccretion marked this pull request as ready for review December 2, 2024 20:25
@SingleAccretion SingleAccretion requested a review from a team as a code owner December 2, 2024 20:25
@SingleAccretion SingleAccretion requested review from alexcrichton and removed request for a team December 2, 2024 20:25
Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds reasonable to me, thanks again for investigating this!

@alexcrichton alexcrichton added this pull request to the merge queue Dec 2, 2024
Merged via the queue into bytecodealliance:main with commit 8e4f0cd Dec 2, 2024
40 checks passed
@SingleAccretion SingleAccretion deleted the DI-WinSym branch December 15, 2024 20:45
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.

Debug intrinsics do not work in the released version of wasmtime on Windows
2 participants