CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
113 lines
4.0 KiB
Plaintext
113 lines
4.0 KiB
Plaintext
RUN: obj2yaml %p/../Inputs/WASM/multi-table.wasm | FileCheck %s
|
|
|
|
|
|
# CHECK: - Type: TABLE
|
|
# CHECK: Tables:
|
|
# CHECK: - Index: 1
|
|
# CHECK: ElemType: FUNCREF
|
|
# CHECK: Limits:
|
|
# CHECK: Flags: [ HAS_MAX ]
|
|
# CHECK: Minimum: 0x3
|
|
# CHECK: Maximum: 0x3
|
|
# CHECK: - Index: 2
|
|
# CHECK: ElemType: FUNCREF
|
|
# CHECK: Limits:
|
|
# CHECK: Flags: [ HAS_MAX ]
|
|
# CHECK: Minimum: 0x4
|
|
# CHECK: Maximum: 0x4
|
|
# CHECK: - Index: 3
|
|
# CHECK: ElemType: EXTERNREF
|
|
# CHECK: Limits:
|
|
# CHECK: Minimum: 0x0
|
|
# CHECK: - Index: 4
|
|
# CHECK: ElemType: OTHERREF
|
|
# CHECK: Limits:
|
|
# CHECK: Flags: [ HAS_MAX ]
|
|
# CHECK: Minimum: 0x5
|
|
# CHECK: Maximum: 0x5
|
|
# CHECK: - Type: GLOBAL
|
|
# CHECK: Globals:
|
|
# CHECK: - Index: 0
|
|
# CHECK: Type: OTHERREF
|
|
# CHECK: Mutable: false
|
|
# CHECK: InitExpr:
|
|
# CHECK: Extended: true
|
|
# CHECK: Body: D2000B
|
|
# CHECK: - Index: 1
|
|
# CHECK: Type: I32
|
|
# CHECK: Mutable: false
|
|
# CHECK: InitExpr:
|
|
# CHECK: Opcode: I32_CONST
|
|
# CHECK: Value: 0
|
|
# CHECK: - Type: ELEM
|
|
# CHECK: Segments:
|
|
# CHECK: - Offset:
|
|
# CHECK: Opcode: I32_CONST
|
|
# CHECK: Value: 0
|
|
# CHECK: Functions: [ 0 ]
|
|
# CHECK: - Flags: 2
|
|
# CHECK: TableNumber: 1
|
|
# CHECK: ElemKind: FUNCREF
|
|
# CHECK: Offset:
|
|
# CHECK: Opcode: I32_CONST
|
|
# CHECK: Value: 0
|
|
# CHECK: Functions: [ 0 ]
|
|
# CHECK: - Flags: 2
|
|
# CHECK: TableNumber: 1
|
|
# CHECK: ElemKind: FUNCREF
|
|
# CHECK: Offset:
|
|
# CHECK: Opcode: I32_CONST
|
|
# CHECK: Value: 1
|
|
# CHECK: Functions: [ 0, 1 ]
|
|
# CHECK: - Flags: 6
|
|
# CHECK: TableNumber: 2
|
|
# CHECK: ElemKind: FUNCREF
|
|
# CHECK: Offset:
|
|
# CHECK: Opcode: GLOBAL_GET
|
|
# CHECK: Index: 1
|
|
# There are 2 funcions encoded with initexprs in this segment
|
|
# but initexprs in tables are unmodeled.
|
|
# CHECK: Functions: [ ]
|
|
# CHECK: - Flags: 6
|
|
# CHECK: TableNumber: 2
|
|
# This elemkind is OTHERREF because it's encoded as a typed funcref
|
|
# CHECK: ElemKind: OTHERREF
|
|
# CHECK: Offset:
|
|
# CHECK: Opcode: I32_CONST
|
|
# CHECK: Value: 2
|
|
# CHECK: Functions: [ ]
|
|
# CHECK: - Flags: 1
|
|
# CHECK: ElemKind: FUNCREF
|
|
# CHECK: Offset:
|
|
# CHECK: Opcode: I32_CONST
|
|
# CHECK: Value: 0
|
|
# CHECK: Functions: [ 0, 1 ]
|
|
# CHECK: - Flags: 5
|
|
# CHECK: ElemKind: FUNCREF
|
|
# CHECK: Offset:
|
|
# CHECK: Opcode: I32_CONST
|
|
# CHECK: Value: 0
|
|
# Empty function list, encoded with initexprs
|
|
# CHECK: Functions: [ ]
|
|
# CHECK: - Flags: 5
|
|
# CHECK: ElemKind: OTHERREF
|
|
# CHECK: Offset:
|
|
# CHECK: Opcode: I32_CONST
|
|
# CHECK: Value: 0
|
|
# Function list encoded with initexprs
|
|
# CHECK: Functions: [ ]
|
|
# CHECK: - Flags: 1
|
|
# CHECK: ElemKind: FUNCREF
|
|
# CHECK: Offset:
|
|
# CHECK: Opcode: I32_CONST
|
|
# CHECK: Value: 0
|
|
# CHECK: Functions: [ ]
|
|
# CHECK: - Flags: 6
|
|
# CHECK: TableNumber: 4
|
|
# CHECK: ElemKind: OTHERREF
|
|
# CHECK: Offset:
|
|
# CHECK: Opcode: I32_CONST
|
|
# CHECK: Value: 0
|
|
# Function list encoded with initexprs
|
|
# CHECK: Functions: [ ]
|