[ARM] Cortex-M4 schedule additions
[llvm-complete.git] / test / tools / llvm-nm / wasm / exports.yaml
blobeddcbc22c1f17933f1e04d195b8631c734a02a85
1 # RUN: yaml2obj < %s | llvm-nm - | FileCheck -strict-whitespace %s
3 # Check that wasm exports of functions/globals/data are displayed correctly
5 --- !WASM
6 FileHeader:
7   Version:         0x00000001
8 Sections:
9   - Type:            TYPE
10     Signatures:
11       - Index:           0
12         ReturnType:      I32
13         ParamTypes:
14           - I32
15   - Type:            FUNCTION
16     FunctionTypes: [ 0 ]
17   - Type:            GLOBAL
18     Globals:
19       - Index:       0
20         Type:        I32
21         Mutable:     false
22         InitExpr:
23           Opcode:          I64_CONST
24           Value:           32
25   - Type:            CODE
26     Functions:
27       - Index:           0
28         Locals:
29         Body:            00
30   - Type:            DATA
31     Segments:
32       - SectionOffset:   6
33         InitFlags:       0
34         Offset:
35           Opcode:          I32_CONST
36           Value:           0
37         Content:         '616263'
38   - Type:            CUSTOM
39     Name:            linking
40     Version:         2
41     SymbolTable:
42        - Index:           0
43          Kind:            FUNCTION
44          Name:            fexport
45          Flags:           [  ]
46          Function:        0
47        - Index:           1
48          Kind:            GLOBAL
49          Name:            gexport
50          Flags:           [  ]
51          Global:          0
52        - Index:           2
53          Kind:            DATA
54          Name:            dexport
55          Flags:           [  ]
56          Segment:         0
57          Size:            3
58     SegmentInfo:
59       - Index:           0
60         Name:            .rodata.constantData
61         Alignment:       1
62         Flags:           [  ]
64 # CHECK:      00000000 D dexport
65 # CHECK-NEXT: 00000001 T fexport
66 # CHECK-NEXT: 00000000 D gexport