Skip to content

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Aug 26, 2025

The binaryen version was outputting strange mangled C++ names.

Doing this in python should be faster since we don't need to parse the whole binary.

@sbc100 sbc100 requested a review from kripken August 26, 2025 01:19
@sbc100
Copy link
Collaborator Author

sbc100 commented Aug 26, 2025

Still needs a test..

Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

Oh nice, yeah, this makes a lot of sense.

lgtm with a test as you mention.

Please also update the changelog about the escaping change.

@kripken
Copy link
Member

kripken commented Aug 26, 2025

test lgtm

@kripken
Copy link
Member

kripken commented Aug 26, 2025

Oh, but we still need an escaping test.

@sbc100
Copy link
Collaborator Author

sbc100 commented Aug 26, 2025

Oh, but we still need an escaping test.

Yes, I mentioned that already in the comment above(and in the PR description)

@sbc100
Copy link
Collaborator Author

sbc100 commented Aug 26, 2025

Added testing #25060. Now you can see the fix in action.

sbc100 added a commit to WebAssembly/binaryen that referenced this pull request Aug 26, 2025
The binaryen version was outputting strange mangled C++ names.

Doing this in python should be faster since we don't need to parse the
whole binary.

Still needs a test.

Fixes: emscripten-core#24982
sbc100 added a commit to WebAssembly/binaryen that referenced this pull request Aug 26, 2025
@sbc100 sbc100 enabled auto-merge (squash) August 26, 2025 23:37
@sbc100 sbc100 disabled auto-merge August 26, 2025 23:37
@sbc100 sbc100 merged commit fe2e532 into emscripten-core:main Aug 27, 2025
30 checks passed
@sbc100 sbc100 deleted the emit_symbol_map branch August 27, 2025 18:29
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