[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / ObjectYAML / wasm / dylink_section.yaml
blob9cc3f7d0a4ed60933210e1a9473d68117a71f129
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
2 --- !WASM
3 FileHeader:
4   Version:         0x00000001
6 Sections:
7   - Type:            CUSTOM
8     Name:            dylink
9     MemorySize:      4
10     MemoryAlignment: 2
11     TableSize:       1
12     TableAlignment:  0
13     Needed:          [ libfoo.so, libbar.so ]
14 ...
15 # CHECK: --- !WASM
16 # CHECK: FileHeader:
17 # CHECK:   Version:           0x00000001
18 # CHECK: Sections:
19 # CHECK:   - Type:            CUSTOM
20 # CHECK:     Name:            dylink
21 # CHECK:     MemorySize:      4
22 # CHECK:     MemoryAlignment: 2
23 # CHECK:     TableSize:       1
24 # CHECK:     TableAlignment:  0
25 # CHECK:     Needed:
26 # CHECK:       - libfoo.so
27 # CHECK:       - libbar.so
28 # CHECK: ...