Skip to content

[wasm-merge] Preserve function names when writing a profile#8631

Open
tlively wants to merge 1 commit intomainfrom
merge-manifest-g
Open

[wasm-merge] Preserve function names when writing a profile#8631
tlively wants to merge 1 commit intomainfrom
merge-manifest-g

Conversation

@tlively
Copy link
Copy Markdown
Member

@tlively tlively commented Apr 20, 2026

When wasm-merge writes a wasm-split profile, it uses names to identify functions. It is never correct to then throw those names away when writing the binary, because that would make the profile useless. To avoid this problem, have --output-manifest imply --debuginfo and preserve the function names.

When wasm-merge writes a wasm-split profile, it uses names to identify functions. It is never correct to then throw those names away when writing the binary, because that would make the profile useless. To avoid this problem, have --output-manifest imply --debuginfo and preserve the function names.
@tlively tlively requested a review from aheejin April 20, 2026 23:27
@tlively tlively requested a review from a team as a code owner April 20, 2026 23:27
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.

1 participant