blob: e97a31c784227da00adc6c43524d5f1d10562913 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
;;; TOOL: run-gen-wasm
;;; ARGS: -v
magic
version
section("foo") { count[4] }
section(TYPE) { count[1] function params[0] results[1] i32 }
section("bar") { count[5] }
section("foo") { count[6] }
(;; STDERR ;;;
BeginModule(version: 1)
BeginCustomSection('foo', size: 5)
BeginGenericCustomSection(5)
OnGenericCustomSection(name: "foo", size: 1)
EndGenericCustomSection
EndCustomSection
BeginTypeSection(5)
OnTypeCount(1)
OnFuncType(index: 0, params: [], results: [i32])
EndTypeSection
BeginCustomSection('bar', size: 5)
BeginGenericCustomSection(5)
OnGenericCustomSection(name: "bar", size: 1)
EndGenericCustomSection
EndCustomSection
BeginCustomSection('foo', size: 5)
BeginGenericCustomSection(5)
OnGenericCustomSection(name: "foo", size: 1)
EndGenericCustomSection
EndCustomSection
EndModule
;;; STDERR ;;)
(;; STDOUT ;;;
(module
(type (;0;) (func (result i32))))
;;; STDOUT ;;)
|