• Clemens Hammacher's avatar
    [wasm] Decode and use module name · 237d21b2
    Clemens Hammacher authored
    * add functionality to wasm-module-builder.js to emit the module name
      in the name section.
    * extend WasmModule to store the module name length and offset.
    * add functionality to module-decoder.cc to decode the module name.
    * use the module name for printing stack traces. more uses should
      follow.
    * extend one message test to contain a module name.
    
    R=ahaas@chromium.org
    
    Change-Id: I94e6f1f2eb99cb656a92a85bb7afe0742292046f
    Reviewed-on: https://chromium-review.googlesource.com/530366Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45846}
    237d21b2
wasm-module-name.out 140 Bytes