WebAssembly / WebAssembly/binaryen
`--print-function-map` performs strange escaping on symbol name
Open
Nobody has claimed this yet.
- Dominant language
- WebAssembly
- Stars
- 8.6k
- Forks
- 885
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 69
Description
See https://github.com/emscripten-core/emscripten/issues/24982.
e.g if my function has the name Namespace::foo(Namespace::SomeClass) in the name section the emitted symbol map file will contain:
2:Namespace::foo\28Namespace::SomeClass\29
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with --print-function-map using a symbol named Namespace::foo(Namespace::SomeClass), then compare the name section with the emitted symbol map. The issue names no source file or test; done should mean symbol names in the map no longer use the reported escaping while preserving valid map formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100