summaryrefslogtreecommitdiff
path: root/test/dump/call.txt
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2016-10-12 13:32:50 -0700
committerGitHub <noreply@github.com>2016-10-12 13:32:50 -0700
commit7de714088a3e4effd9e1915f725a99f2e9fd23ff (patch)
tree817ae0a01d91d0dcb36ca7a2eee53b6a37ff5a5f /test/dump/call.txt
parent9b23a2a9a37f19a1516f270c2bd5d7b86cd14158 (diff)
downloadwabt-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/call.txt')
-rw-r--r--test/dump/call.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/dump/call.txt b/test/dump/call.txt
index c02c5698..7f5a2c1e 100644
--- a/test/dump/call.txt
+++ b/test/dump/call.txt
@@ -1,4 +1,5 @@
-;;; FLAGS: -dv
+;;; TOOL: run-wasmdump
+;;; FLAGS: -v
(module
(func (param i32)
(call 0 (i32.const 1))))
@@ -35,7 +36,7 @@
000001c: 0f ; end
0000016: 06 ; FIXUP func body size
0000014: 08 ; FIXUP section size
-;; dump
-0000000: 0061 736d 0c00 0000 0105 0140 0101 0003
-0000010: 0201 000a 0801 0600 1001 1600 0f
+func 0
+ 000018: 10 01 | i32.const 0x1
+ 00001a: 16 00 | call 0
;;; STDOUT ;;)