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
55 lines
1.4 KiB
ArmAsm
55 lines
1.4 KiB
ArmAsm
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
|
|
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret32.s -o %t.ret32.o
|
|
|
|
# RUN: wasm-ld -shared -o %t.ret32.so %t.ret32.o
|
|
# RUN: obj2yaml %t.ret32.so | FileCheck %s -check-prefix=SO1
|
|
|
|
# Without linking against the ret32.so shared object we expect an undefined
|
|
# symbol error
|
|
|
|
# RUN: not wasm-ld -shared -o %t.so %t.o 2>&1 | FileCheck %s --check-prefix=ERROR
|
|
# ERROR: undefined symbol: ret32
|
|
|
|
# RUN: wasm-ld -shared -o %t.so %t.o %t.ret32.so
|
|
# RUN: obj2yaml %t.so | FileCheck %s -check-prefix=SO2
|
|
|
|
|
|
.globl foo
|
|
.globl data
|
|
|
|
.functype ret32 (f32) -> (i32)
|
|
|
|
foo:
|
|
.functype foo (f32) -> (i32)
|
|
local.get 0
|
|
call ret32
|
|
end_function
|
|
|
|
.section .data,"",@
|
|
data:
|
|
.p2align 2
|
|
.int32 0
|
|
.size data,4
|
|
|
|
|
|
# SO1: Sections:
|
|
# SO1-NEXT: - Type: CUSTOM
|
|
# SO1-NEXT: Name: dylink.0
|
|
# SO1-NEXT: MemorySize: 0
|
|
# SO1-NEXT: MemoryAlignment: 0
|
|
# SO1-NEXT: TableSize: 0
|
|
# SO1-NEXT: TableAlignment: 0
|
|
# SO1-NEXT: Needed: []
|
|
# SO1-NEXT: - Type: TYPE
|
|
|
|
# SO2: Sections:
|
|
# SO2-NEXT: - Type: CUSTOM
|
|
# SO2-NEXT: Name: dylink.0
|
|
# SO2-NEXT: MemorySize: 4
|
|
# SO2-NEXT: MemoryAlignment: 2
|
|
# SO2-NEXT: TableSize: 0
|
|
# SO2-NEXT: TableAlignment: 0
|
|
# SO2-NEXT: Needed:
|
|
# SO2-NEXT: - shared-needed.s.tmp.ret32.so
|
|
# SO2-NEXT: - Type: TYPE
|