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

No debug symbols for WASM target #11330

Closed
iacore opened this issue Mar 27, 2022 · 1 comment · Fixed by #11461
Closed

No debug symbols for WASM target #11330

iacore opened this issue Mar 27, 2022 · 1 comment · Fixed by #11461
Labels
arch-wasm32 bug Observed behavior contradicts documented or intended behavior
Milestone

Comments

@iacore
Copy link
Contributor

iacore commented Mar 27, 2022

Zig Version

0.10.0-dev.1427+ad5770eba

Steps to Reproduce

Try to build this project and use llvm-dwarfdump on result objects. You can clone the gist as repo by clicking on the "Embed" button.

Expected Behavior

Generated WASM should have debug symbols, like other platforms.

Actual Behavior

Generated WASM has no debug symbols

@iacore iacore added the bug Observed behavior contradicts documented or intended behavior label Mar 27, 2022
@iacore
Copy link
Contributor Author

iacore commented Mar 28, 2022

Drawf information can be used to generate source map for WASM. It is generated with -g flag with clang.

Related to #10836

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm32 bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants