[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / llvm-nm / wasm / exports.yaml
blob15c98ae2bf4a22142db7a326a81cb67cbb08a8d3
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         ParamTypes:
13           - I32
14         ReturnTypes:
15           - I32
16   - Type:            FUNCTION
17     FunctionTypes: [ 0 ]
18   - Type:            GLOBAL
19     Globals:
20       - Index:       0
21         Type:        I32
22         Mutable:     false
23         InitExpr:
24           Opcode:          I64_CONST
25           Value:           32
26   - Type:            CODE
27     Functions:
28       - Index:           0
29         Locals:
30         Body:            00
31   - Type:            DATA
32     Segments:
33       - SectionOffset:   6
34         InitFlags:       0
35         Offset:
36           Opcode:          I32_CONST
37           Value:           0
38         Content:         '616263'
39   - Type:            CUSTOM
40     Name:            linking
41     Version:         2
42     SymbolTable:
43        - Index:           0
44          Kind:            FUNCTION
45          Name:            fexport
46          Flags:           [  ]
47          Function:        0
48        - Index:           1
49          Kind:            GLOBAL
50          Name:            gexport
51          Flags:           [  ]
52          Global:          0
53        - Index:           2
54          Kind:            DATA
55          Name:            dexport
56          Flags:           [  ]
57          Segment:         0
58          Size:            3
59     SegmentInfo:
60       - Index:           0
61         Name:            .rodata.constantData
62         Alignment:       1
63         Flags:           [  ]
65 # CHECK:      00000000 D dexport
66 # CHECK-NEXT: 00000001 T fexport
67 # CHECK-NEXT: 00000000 D gexport