summaryrefslogtreecommitdiff
path: root/test/binary/function-local-count-zero.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/binary/function-local-count-zero.txt')
-rw-r--r--test/binary/function-local-count-zero.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/binary/function-local-count-zero.txt b/test/binary/function-local-count-zero.txt
index f70a50f6..e3571131 100644
--- a/test/binary/function-local-count-zero.txt
+++ b/test/binary/function-local-count-zero.txt
@@ -1,4 +1,6 @@
;;; TOOL: run-gen-wasm
+;;; TOOL: run-objdump-gen-wasm
+;;; ARGS: -x
magic
version
section(TYPE) { count[1] function params[0] results[0] }
@@ -23,4 +25,29 @@ section(CODE) {
(func (;0;) (type 0))
(func (;1;) (type 0)
(local i64 f64 f64)))
+
+function-local-count-zero.wasm: file format wasm 0x1
+
+Section Details:
+
+Type[1]:
+ - type[0] () -> nil
+Function[2]:
+ - func[0] sig=0
+ - func[1] sig=0
+Code[2]:
+ - func[0] size=4
+ - func[1] size=10
+
+Code Disassembly:
+
+000017 func[0]:
+ 000018: 00 7f | local[] type=i32
+ 00001a: 0b | end
+00001c func[1]:
+ 00001d: 01 7e | local[0] type=i64
+ 00001f: 00 7f | local[] type=i32
+ 000021: 02 7c | local[1..2] type=f64
+ 000023: 00 7d | local[] type=f32
+ 000025: 0b | end
;;; STDOUT ;;)