[ARM] Split large truncating MVE stores
[llvm-complete.git] / test / ObjectYAML / wasm / import_section.yaml
blob90de6f0fec7f0db3f559af67928fd32a0564375b
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:           imported_function
16         Kind:            FUNCTION
17         SigIndex:        0
18       - Module:          fiz
19         Field:           imported_global
20         Kind:            GLOBAL
21         GlobalType:      I32
22         GlobalMutable:   false
23       - Module:          foo
24         Field:           imported_memory
25         Kind:            MEMORY
26         Memory:
27           Flags:           [ HAS_MAX ]
28           Initial:         0x00000010
29           Maximum:         0x00000011
30       - Module:          foo
31         Field:           imported_table
32         Kind:            TABLE
33         Table:
34           ElemType:      FUNCREF
35           Limits:
36             Flags:           [ HAS_MAX ]
37             Initial:         0x00000020
38             Maximum:         0x00000022
39 ...
40 # CHECK: --- !WASM
41 # CHECK: FileHeader:
42 # CHECK:   Version:           0x00000001
43 # CHECK: Sections:
44 # CHECK:   - Type:            IMPORT
45 # CHECK:     Imports:         
46 # CHECK:       - Module:          foo
47 # CHECK:         Field:           imported_function
48 # CHECK:         Kind:            FUNCTION
49 # CHECK:         SigIndex:        0
50 # CHECK:       - Module:          fiz
51 # CHECK:         Field:           imported_global
52 # CHECK:         Kind:            GLOBAL
53 # CHECK:         GlobalType:      I32
54 # CHECK:         GlobalMutable:   false
55 # CHECK:       - Module:          foo
56 # CHECK:         Field:           imported_memory
57 # CHECK:         Kind:            MEMORY
58 # CHECK:         Memory:
59 # CHECK:           Flags:           [ HAS_MAX ]
60 # CHECK:           Initial:         0x00000010
61 # CHECK:           Maximum:         0x00000011
62 # CHECK:       - Module:          foo
63 # CHECK:         Field:           imported_table
64 # CHECK:         Kind:            TABLE
65 # CHECK:         Table:
66 # CHECK:           ElemType:      FUNCREF
67 # CHECK:           Limits:
68 # CHECK:             Flags:           [ HAS_MAX ]
69 # CHECK:             Initial:         0x00000020
70 # CHECK:             Maximum:         0x00000022
71 # CHECK: ...