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
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
ObjectYAML
/
wasm
/
name_section.yaml
blob
a22b25771e15ced80a8be1e0af0a6f8cc9c169ee
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
ParamTypes:
10
- I32
11
ReturnTypes:
12
- I32
13
- Type: IMPORT
14
Imports:
15
- Module: foo
16
Field: a
17
Kind: FUNCTION
18
SigIndex: 0
19
- Module: foo
20
Field: b
21
Kind: FUNCTION
22
SigIndex: 0
23
- Module: foo
24
Field: c
25
Kind: FUNCTION
26
SigIndex: 0
27
- Type: CUSTOM
28
Name: name
29
FunctionNames:
30
- Index: 1
31
Name: foo
32
- Index: 0
33
Name: bar
34
...
35
# CHECK: - Type: CUSTOM
36
# CHECK-NEXT: Name: name
37
# CHECK-NEXT: FunctionNames:
38
# CHECK-NEXT: - Index: 1
39
# CHECK-NEXT: Name: foo
40
# CHECK-NEXT: - Index: 0
41
# CHECK-NEXT: Name: bar
42
# CHECK: ...