summaryrefslogtreecommitdiff
path: root/test/binaryen.js/debug-names.js
Commit message (Collapse)AuthorAgeFilesLines
* 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)