binaryen
binaryen copied to clipboard
API to get memory segment name
With the change from indices to names for memory segments, it'd be great if we could query the name of a segment and get segments by name instead of index since indices can change after optimizations are run.
cc @ashleynh