Skip to content

Make wasm-as emit the names section/debug info only with -g #705

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

Merged
merged 3 commits into from
Sep 27, 2016

Conversation

kripken
Copy link
Member

@kripken kripken commented Sep 22, 2016

As discussed in #700.

This also needs emscripten repo support (to invoke with -g when appropriate), I'll add that next.

This touches wasm-binary.h so it should wait to be rebased and merged after the 0xc binary changes are done.

@kripken
Copy link
Member Author

kripken commented Sep 26, 2016

@dschuff: what do you think about landing this? it touches the binary format code a little, I don't want to interfere with your work.

@dschuff
Copy link
Member

dschuff commented Sep 26, 2016

It looks like it doesn't conflict with #711, right? (I mean technically it does touch wasm-binary.h but not the same lines). So I think it should be fine.

@@ -306,7 +306,7 @@ def minify_check(wast, verify_final_result=True):
if actual != expected:
fail(actual, expected)

binary_format_check(wasm, verify_final_result=False)
binary_format_check(wasm, verify_final_result = False)
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't PEP8 style call for no spaces here?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think you're right, will fix.

@kripken kripken merged commit ea5b5e2 into master Sep 27, 2016
@kripken kripken deleted the wasm-as-g branch September 27, 2016 04:40
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