Skip to content

Add support for sourcemaps #28

@ErikMcClure

Description

@ErikMcClure

inNative needs to be able to consume a source map from wasm to the source language that it was compiled from (like C++). This source map can either be provided as a separate file, or embedded as a custom section in the webassembly module. The command line utility should provide a tool for attaching source maps to a given webassembly module.

If a source map file is provided, the generated debug information must resolve two indirections - instead of simply linking back to the source .wat textual representation, it must then use the sourcemap to go from the .wat code position to the source language position and encode this value into the resulting debug information.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions