llvm.org GIT mirror llvm / 8764e8a test / ObjectYAML / wasm / table_section.yaml
8764e8a

Tree @8764e8a (Download .tar.gz)

table_section.yaml @8764e8araw · history · blame

# RUN: yaml2obj %s | obj2yaml | FileCheck %s
--- !WASM
FileHeader:
  Version:         0x00000001
Sections:
  - Type:            TABLE
    Tables:         
      - ElemType:        ANYFUNC
        Limits:
          Flags:           [ HAS_MAX ]
          Initial:         0x00000010
          Maximum:         0x00000011
...
# CHECK: --- !WASM
# CHECK: FileHeader:
# CHECK:   Version:           0x00000001
# CHECK: Sections:
# CHECK:  - Type:            TABLE
# CHECK:    Tables:         
# CHECK:      - ElemType:        ANYFUNC
# CHECK:        Limits:
# CHECK:          Flags:           [ HAS_MAX ]
# CHECK:          Initial:         0x00000010
# CHECK:          Maximum:         0x00000011
# CHECK: ...