binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

[Experimental] Print descriptors as vtable fields

Open tlively opened this issue 3 months ago • 1 comments

Also print exact references as inexact references. This prints modules using custom descriptors as if they were not using custom descriptors, making it easier to identify optimization regressions by diffing modules before and after enabling custom descriptors.

tlively avatar Sep 13 '25 00:09 tlively

cc @kripken in case this is useful for you. This is especially helpful in combination with -g --preserve-type-order. You can also use this command to remove numerical type names Binaryen emits, since differences in the numbers names are not typically interesting: sed -i 's/\$[0-9]\+/\$/g' disassembled.wast

tlively avatar Sep 13 '25 00:09 tlively