[ARM] Split large truncating MVE stores
[llvm-complete.git] / test / ObjectYAML / wasm / export_section.yaml
blobaf72f1368110fd7daceff5632e9c96d72f3ea7a9
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:      NORESULT
10         ParamTypes:
11   - Type:            FUNCTION
12     FunctionTypes: [ 0, 0 ]
13   - Type:            GLOBAL
14     Globals:
15       - Index:       0
16         Type:        I32
17         Mutable:     false
18         InitExpr:
19           Opcode:          I64_CONST
20           Value:           32
21       - Index:       1
22         Type:        I32
23         Mutable:     false
24         InitExpr:
25           Opcode:          I64_CONST
26           Value:           64
27   - Type:            EXPORT
28     Exports:         
29       - Name:            function_export
30         Kind:            FUNCTION
31         Index:           1
32       - Name:            global_export
33         Kind:            GLOBAL
34         Index:           1
35       - Name:            memory_export
36         Kind:            MEMORY
37         Index:           0
38       - Name:            table_export
39         Kind:            TABLE
40         Index:           0
41   - Type:            CODE
42     Functions:
43       - Index:           0
44         Locals:
45         Body:            0B
46       - Index:           1
47         Locals:
48         Body:            0B
49 ...
50 # CHECK: --- !WASM
51 # CHECK: FileHeader:
52 # CHECK:   Version:           0x00000001
53 # CHECK: Sections:
54 # CHECK:   - Type:            EXPORT
55 # CHECK:     Exports:         
56 # CHECK:       - Name:            function_export
57 # CHECK:         Kind:            FUNCTION
58 # CHECK:         Index:           1
59 # CHECK:       - Name:            global_export
60 # CHECK:         Kind:            GLOBAL
61 # CHECK:         Index:           1
62 # CHECK:       - Name:            memory_export
63 # CHECK:         Kind:            MEMORY
64 # CHECK:         Index:           0
65 # CHECK:       - Name:            table_export
66 # CHECK:         Kind:            TABLE
67 # CHECK:         Index:           0
68 # CHECK: ...