Skip to content

Include types, tables, labels, globals, and memories in binary format name section #750

Closed

Description

@AndrewScheidecker

I realize the name section is probably seen as a stopgap for a more expressive metadata section, but it would be nice if it could round trip the names that are in the text format. At a glance, it's missing names for imports, types, tables, and labels.

Activity

  1. added this to the MVP milestone on Jan 31, 2017
  2. sunfishcode commented on Jan 31, 2017

    @sunfishcode
    Member

    It's also missing names for globals and memories.

    And as a minor nit, there are no distinct names for imports; imports are imported into their respective entities' index spaces, such as the function index space, so for example the existing "name" section covers imported functions.

    So to summarize, the wasm binary format currently doesn't have names for:

    • types
    • tables
    • labels
    • globals
    • memories
  3. changed the title [-]Include imports, types, tables, and labels in binary format name section[/-] [+]Include types, tables, labels, globals, and memories in binary format name section[/+] on Jan 31, 2017
  4. jfbastien commented on May 11, 2017

    @jfbastien
    Member

    @AndrewScheidecker could you file a PR for this?

  5. AndrewScheidecker commented on May 15, 2017

    @AndrewScheidecker
    Author

    @AndrewScheidecker could you file a PR for this?

    Will do.

  6. nomeata commented on Jan 7, 2020

    @nomeata

    JFTR, this seems to have evolved into a proposal at https://github.com/WebAssembly/extended-name-section

  7. binji commented on Jan 14, 2020

    @binji
    Member

    Thanks for that info @nomeata! Let's close this issue then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions