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

Binary encode names into Name section #21

Closed
3 tasks done
ballercat opened this issue Dec 14, 2017 · 0 comments
Closed
3 tasks done

Binary encode names into Name section #21

ballercat opened this issue Dec 14, 2017 · 0 comments

Comments

@ballercat
Copy link
Owner

ballercat commented Dec 14, 2017

Goal

Improve debugging

Overview

I'm pretty sure that encoding the names, would improve the DX here. Mainly improving runtime exceptions to actually point to correct functions/variable names which are broken. Also debugging a wasm module in the browser is kind of difficult without original names for locals/variables/functions.

Acceptance Criteria

  • Add Name section to the emitter
  • Name output should be enabled by default but could be disabled via some flag
  • Unit tests. A test ensuring a named section is encoded would be ideal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant