Debian Codegraph @

llvm/test/ObjectYAML/wasm/table_section.yaml

raw
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
2 --- !WASM
3 FileHeader:
4 Version: 0x00000001
5 Sections:
6 - Type: TABLE
7 Tables:
8 - Index: 0
9 ElemType: FUNCREF
10 Limits:
11 Flags: [ HAS_MAX ]
12 Minimum: 0x00000010
13 Maximum: 0x00000011
14 ...
15 # CHECK: --- !WASM
16 # CHECK: FileHeader:
17 # CHECK: Version: 0x1
18 # CHECK: Sections:
19 # CHECK: - Type: TABLE
20 # CHECK: Tables:
21 # CHECK: - Index: 0
22 # CHECK: ElemType: FUNCREF
23 # CHECK: Limits:
24 # CHECK: Flags: [ HAS_MAX ]
25 # CHECK: Minimum: 0x10
26 # CHECK: Maximum: 0x11
27 # CHECK: ...