[ARM] Better OR's for MVE compares
[llvm-core.git] / test / ObjectYAML / wasm / event_section.yaml
blob91683bd3da4c72ca66672348f1ba6d1e274dec84
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
3 --- !WASM
4 FileHeader:
5   Version:         0x00000001
6 Sections:
7   - Type:            TYPE
8     Signatures:
9       - Index:           0
10         ReturnType:      I32
11         ParamTypes:
12           - I32
13       - Index:           1
14         ReturnType:      NORESULT
15         ParamTypes:
16           - I32
17   - Type:            FUNCTION
18     FunctionTypes:   [ 0 ]
19   - Type:            EVENT
20     Events:
21       - Index:           0
22         Attribute:       0
23         SigIndex:        1
24   - Type:            CODE
25     Relocations:
26       - Type:            R_WASM_EVENT_INDEX_LEB
27         Index:           1
28         Offset:          0x00000006
29     Functions:
30       - Index:           0
31         Locals:
32         Body:            200008808080800041000B
33   - Type:            CUSTOM
34     Name:            linking
35     Version:         2
36     SymbolTable:
37       - Index:           0
38         Kind:            FUNCTION
39         Name:            test_throw0
40         Flags:           [  ]
41         Function:        0
42       - Index:           1
43         Kind:            EVENT
44         Name:            __cpp_exception
45         Flags:           [ BINDING_WEAK ]
46         Event:           0
47 ...
49 # CHECK:      --- !WASM
50 # CHECK-NEXT: FileHeader:
51 # CHECK-NEXT:   Version:         0x00000001
52 # CHECK-NEXT: Sections:
53 # CHECK-NEXT:   - Type:            TYPE
54 # CHECK-NEXT:     Signatures:
55 # CHECK-NEXT:       - Index:           0
56 # CHECK-NEXT:         ReturnType:      I32
57 # CHECK-NEXT:         ParamTypes:
58 # CHECK-NEXT:           - I32
59 # CHECK-NEXT:       - Index:           1
60 # CHECK-NEXT:         ReturnType:      NORESULT
61 # CHECK-NEXT:         ParamTypes:
62 # CHECK-NEXT:           - I32
63 # CHECK-NEXT:   - Type:            FUNCTION
64 # CHECK-NEXT:     FunctionTypes:   [ 0 ]
65 # CHECK-NEXT:   - Type:            EVENT
66 # CHECK-NEXT:     Events:
67 # CHECK-NEXT:       - Index:           0
68 # CHECK-NEXT:         Attribute:       0
69 # CHECK-NEXT:         SigIndex:        1
70 # CHECK-NEXT:   - Type:            CODE
71 # CHECK-NEXT:     Relocations:
72 # CHECK-NEXT:       - Type:            R_WASM_EVENT_INDEX_LEB
73 # CHECK-NEXT:         Index:           1
74 # CHECK-NEXT:         Offset:          0x00000006
75 # CHECK-NEXT:     Functions:
76 # CHECK-NEXT:       - Index:           0
77 # CHECK-NEXT:         Locals:
78 # CHECK-NEXT:         Body:            200008808080800041000B
79 # CHECK-NEXT:   - Type:            CUSTOM
80 # CHECK-NEXT:     Name:            linking
81 # CHECK-NEXT:     Version:         2
82 # CHECK-NEXT:     SymbolTable:
83 # CHECK-NEXT:       - Index:           0
84 # CHECK-NEXT:         Kind:            FUNCTION
85 # CHECK-NEXT:         Name:            test_throw0
86 # CHECK-NEXT:         Flags:           [  ]
87 # CHECK-NEXT:         Function:        0
88 # CHECK-NEXT:       - Index:           1
89 # CHECK-NEXT:         Kind:            EVENT
90 # CHECK-NEXT:         Name:            __cpp_exception
91 # CHECK-NEXT:         Flags:           [ BINDING_WEAK ]
92 # CHECK-NEXT:         Event:           0