Skip to content

Initialize binary writer debug info even without a source map#1733

Merged
kripken merged 2 commits into
masterfrom
initDebugInfo
Nov 27, 2018
Merged

Initialize binary writer debug info even without a source map#1733
kripken merged 2 commits into
masterfrom
initDebugInfo

Conversation

@kripken

@kripken kripken commented Nov 9, 2018

Copy link
Copy Markdown
Member

As debug info may exist without a source map.

Found by valgrind.

@kripken kripken requested a review from yurydelendik November 9, 2018 19:29

@yurydelendik yurydelendik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. If the write() method called only once per WasmBinaryWriter lifetime, the initializeDebugInfo body can be moved into constructor or the prepare() method.

@kripken kripken merged commit 3eea535 into master Nov 27, 2018
@kripken kripken deleted the initDebugInfo branch November 27, 2018 03:01
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