repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL
[llvm-project.git]
/
lld
/
test
/
wasm
/
Inputs
/
globals.yaml
blob
4f5d0bef62296adbefb30a2080f7a682a02ebfe1
1
--- !WASM
2
FileHeader:
3
Version: 0x00000001
4
Sections:
5
- Type: TYPE
6
Signatures:
7
- Index: 0
8
ParamTypes:
9
ReturnTypes:
10
- I64
11
- Type: FUNCTION
12
FunctionTypes: [ 0 ]
13
- Type: GLOBAL
14
Globals:
15
- Index: 0
16
Type: I64
17
Mutable: true
18
InitExpr:
19
Opcode: I64_CONST
20
Value: 123
21
- Index: 1
22
Type: I64
23
Mutable: true
24
InitExpr:
25
Opcode: I64_CONST
26
Value: 456
27
- Type: CODE
28
Functions:
29
- Index: 0
30
Locals:
31
Body: 2381808080000B
32
Relocations:
33
- Type: R_WASM_GLOBAL_INDEX_LEB
34
Index: 1
35
Offset: 0x00000004
36
- Type: CUSTOM
37
Name: linking
38
Version: 2
39
SymbolTable:
40
- Index: 0
41
Kind: GLOBAL
42
Name: unused_global
43
Flags: [ VISIBILITY_HIDDEN ]
44
Global: 0
45
- Index: 1
46
Kind: GLOBAL
47
Name: used_global
48
Flags: [ VISIBILITY_HIDDEN ]
49
Global: 1
50
- Index: 2
51
Kind: FUNCTION
52
Name: use_global
53
Flags: [ VISIBILITY_HIDDEN ]
54
Function: 0
55
...