summaryrefslogtreecommitdiff
path: root/test/dump/relocations-long-func-section.txt
blob: f1696d44c9cad73a266cb20862fc6b52b88018cf (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
;;; TOOL: run-objdump
;;; ARGS0: -r
;;; ARGS1:
(module
    (global $a i32 (i32.const 0))
    (func $0
        (drop (global.get $a))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0)))
    (func $1
        (drop (global.get $a))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))
        (drop (i32.const 0))))
(;; STDOUT ;;;

relocations-long-func-section.wasm:	file format wasm 0x1

Code Disassembly:

000020 func[0] <0>:
 000021: 23 80 80 80 80 00          | global.get 0 <a>
           000022: R_WASM_GLOBAL_INDEX_LEB 2 <a>
 000027: 1a                         | drop
 000028: 41 00                      | i32.const 0
 00002a: 1a                         | drop
 00002b: 41 00                      | i32.const 0
 00002d: 1a                         | drop
 00002e: 41 00                      | i32.const 0
 000030: 1a                         | drop
 000031: 41 00                      | i32.const 0
 000033: 1a                         | drop
 000034: 41 00                      | i32.const 0
 000036: 1a                         | drop
 000037: 41 00                      | i32.const 0
 000039: 1a                         | drop
 00003a: 41 00                      | i32.const 0
 00003c: 1a                         | drop
 00003d: 41 00                      | i32.const 0
 00003f: 1a                         | drop
 000040: 41 00                      | i32.const 0
 000042: 1a                         | drop
 000043: 41 00                      | i32.const 0
 000045: 1a                         | drop
 000046: 41 00                      | i32.const 0
 000048: 1a                         | drop
 000049: 41 00                      | i32.const 0
 00004b: 1a                         | drop
 00004c: 41 00                      | i32.const 0
 00004e: 1a                         | drop
 00004f: 41 00                      | i32.const 0
 000051: 1a                         | drop
 000052: 41 00                      | i32.const 0
 000054: 1a                         | drop
 000055: 41 00                      | i32.const 0
 000057: 1a                         | drop
 000058: 41 00                      | i32.const 0
 00005a: 1a                         | drop
 00005b: 41 00                      | i32.const 0
 00005d: 1a                         | drop
 00005e: 41 00                      | i32.const 0
 000060: 1a                         | drop
 000061: 41 00                      | i32.const 0
 000063: 1a                         | drop
 000064: 41 00                      | i32.const 0
 000066: 1a                         | drop
 000067: 0b                         | end
000069 func[1] <1>:
 00006a: 23 80 80 80 80 00          | global.get 0 <a>
           00006b: R_WASM_GLOBAL_INDEX_LEB 2 <a>
 000070: 1a                         | drop
 000071: 41 00                      | i32.const 0
 000073: 1a                         | drop
 000074: 41 00                      | i32.const 0
 000076: 1a                         | drop
 000077: 41 00                      | i32.const 0
 000079: 1a                         | drop
 00007a: 41 00                      | i32.const 0
 00007c: 1a                         | drop
 00007d: 41 00                      | i32.const 0
 00007f: 1a                         | drop
 000080: 41 00                      | i32.const 0
 000082: 1a                         | drop
 000083: 41 00                      | i32.const 0
 000085: 1a                         | drop
 000086: 41 00                      | i32.const 0
 000088: 1a                         | drop
 000089: 41 00                      | i32.const 0
 00008b: 1a                         | drop
 00008c: 41 00                      | i32.const 0
 00008e: 1a                         | drop
 00008f: 41 00                      | i32.const 0
 000091: 1a                         | drop
 000092: 41 00                      | i32.const 0
 000094: 1a                         | drop
 000095: 41 00                      | i32.const 0
 000097: 1a                         | drop
 000098: 41 00                      | i32.const 0
 00009a: 1a                         | drop
 00009b: 41 00                      | i32.const 0
 00009d: 1a                         | drop
 00009e: 41 00                      | i32.const 0
 0000a0: 1a                         | drop
 0000a1: 41 00                      | i32.const 0
 0000a3: 1a                         | drop
 0000a4: 41 00                      | i32.const 0
 0000a6: 1a                         | drop
 0000a7: 41 00                      | i32.const 0
 0000a9: 1a                         | drop
 0000aa: 41 00                      | i32.const 0
 0000ac: 1a                         | drop
 0000ad: 41 00                      | i32.const 0
 0000af: 1a                         | drop
 0000b0: 0b                         | end
;;; STDOUT ;;)