Description[wasm] Add utilities to print out WASM ast directly from the bytes.
Motivated by finding a bug in a larger module, this CL adds the ability
to dump out a byte-by-byte, nested view of the decoded AST. This
byte-by-byte output uses the opcode enum to make it readable, but is
suitable for pasting into a byte[] in C or JS and thus making a regression
test.
Also fix a bug; the case of running out of registers for indirect calls.
R=ahaas@chromium.org
BUG=
Committed: https://crrev.com/3b6b8119ffc9fcd8f1946697140e9e333ceb61ad
Cr-Commit-Position: refs/heads/master@{#33442}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix arm64, use AddIndirectFunctionTable() more. #
Messages
Total messages: 9 (2 generated)
|