Debian Codegraph @

llvm/test/ObjectYAML/wasm/start_section.yaml

raw
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
2
3 --- !WASM
4 FileHeader:
5 Version: 0x00000001
6 Sections:
7 - Type: TYPE
8 Signatures:
9 - Index: 0
10 ParamTypes: []
11 ReturnTypes: []
12 - Type: FUNCTION
13 FunctionTypes: [ 0, 0, 0 ]
14 - Type: START
15 StartFunction: 1
16 - Type: CODE
17 Functions:
18 - Index: 0
19 Locals:
20 Body: 0B
21 - Index: 1
22 Locals:
23 Body: 0B
24 - Index: 2
25 Locals:
26 Body: 0B
27 ...
28 # CHECK: --- !WASM
29 # CHECK: FileHeader:
30 # CHECK: Version: 0x1
31 # CHECK: Sections:
32 # CHECK: - Type: START
33 # CHECK: StartFunction: 1
34 # CHECK: ...