diff options
author | Sam Clegg <sbc@chromium.org> | 2016-10-12 13:32:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-12 13:32:50 -0700 |
commit | 7de714088a3e4effd9e1915f725a99f2e9fd23ff (patch) | |
tree | 817ae0a01d91d0dcb36ca7a2eee53b6a37ff5a5f /test/dump/drop.txt | |
parent | 9b23a2a9a37f19a1516f270c2bd5d7b86cd14158 (diff) | |
download | wabt-7de714088a3e4effd9e1915f725a99f2e9fd23ff.tar.gz wabt-7de714088a3e4effd9e1915f725a99f2e9fd23ff.tar.bz2 wabt-7de714088a3e4effd9e1915f725a99f2e9fd23ff.zip |
Add wasmdump binary for inspecting wasm files (#161)
* Add wasmdump binary for inspecting wasm files
Run this tool to as part of the 'dump' tests rather
than using the -d flag to wast2wasm.
Diffstat (limited to 'test/dump/drop.txt')
-rw-r--r-- | test/dump/drop.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/dump/drop.txt b/test/dump/drop.txt index 577f1d08..72f15253 100644 --- a/test/dump/drop.txt +++ b/test/dump/drop.txt @@ -1,4 +1,5 @@ -;;; FLAGS: -dv +;;; TOOL: run-wasmdump +;;; FLAGS: -v (module (func (drop (i32.const 0)))) @@ -33,7 +34,7 @@ 000001a: 0f ; end 0000015: 05 ; FIXUP func body size 0000013: 07 ; FIXUP section size -;; dump -0000000: 0061 736d 0c00 0000 0104 0140 0000 0302 -0000010: 0100 0a07 0105 0010 000b 0f +func 0 + 000017: 10 00 | i32.const 0 + 000019: 0b | drop ;;; STDOUT ;;) |