repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Split large truncating MVE stores
[llvm-complete.git]
/
test
/
ObjectYAML
/
wasm
/
name_section.yaml
blob
f7a489d75426e2a961ff96224c02216f15aaef7f
1
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
2
--- !WASM
3
FileHeader:
4
Version: 0x00000001
5
Sections:
6
- Type: TYPE
7
Signatures:
8
- Index: 0
9
ReturnType: I32
10
ParamTypes:
11
- I32
12
- Type: IMPORT
13
Imports:
14
- Module: foo
15
Field: a
16
Kind: FUNCTION
17
SigIndex: 0
18
- Module: foo
19
Field: b
20
Kind: FUNCTION
21
SigIndex: 0
22
- Module: foo
23
Field: c
24
Kind: FUNCTION
25
SigIndex: 0
26
- Type: CUSTOM
27
Name: name
28
FunctionNames:
29
- Index: 1
30
Name: foo
31
- Index: 0
32
Name: bar
33
...
34
# CHECK: - Type: CUSTOM
35
# CHECK-NEXT: Name: name
36
# CHECK-NEXT: FunctionNames:
37
# CHECK-NEXT: - Index: 1
38
# CHECK-NEXT: Name: foo
39
# CHECK-NEXT: - Index: 0
40
# CHECK-NEXT: Name: bar
41
# CHECK: ...