summaryrefslogtreecommitdiff
path: root/test/binaryen.js/debug-names.js
Commit message (Collapse)AuthorAgeFilesLines
* Prototype extended-name-section proposal (#3162)Daniel Wirtz2020-09-291-4/+10
| | | Implements the parts of the Extended Name Section Proposal that are trivially applicable to Binaryen, in particular table, memory and global names. Does not yet implement label, type, elem and data names.
* Implement module and local names in name section (#3115)Daniel Wirtz2020-09-141-0/+36
Adds support for the module and local subsections of the name section plus the respective C and JS APIs to populate and obtain local names. C API: * BinaryenFunctionGetNumLocals(func) * BinaryenFunctionHasLocalName(func, index) * BinaryenFunctionGetLocalName(func, index) * BinaryenFunctionSetLocalName(func, index, name) JS API: * Function.getNumLocals(func) * Function.hasLocalName(func, index) * Function.getLocalName(func, index) * Function.setLocalName(func, index, name)