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
49 lines
1.8 KiB
ArmAsm
49 lines
1.8 KiB
ArmAsm
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-emscripten -mattr=+exception-handling -o %t.o %s
|
|
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-emscripten %p/Inputs/ret32.s -o %t.ret32.o
|
|
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-emscripten %p/Inputs/libsearch-dyn.s -o %t.dyn.o
|
|
# RUN: wasm-ld -shared %t.ret32.o %t.dyn.o -o %t.lib.so
|
|
# RUN: not wasm-ld -pie -o %t.wasm %t.o 2>&1 | FileCheck --check-prefix=ERROR %s
|
|
# RUN: wasm-ld -pie -o %t.wasm %t.o %t.lib.so
|
|
# RUN: obj2yaml %t.wasm | FileCheck %s
|
|
|
|
# Same again for wasm64
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=wasm64-unknown-emscripten -mattr=+exception-handling -o %t.o %s
|
|
# RUN: llvm-mc -filetype=obj -triple=wasm64-unknown-emscripten %p/Inputs/ret32.s -o %t.ret32.o
|
|
# RUN: llvm-mc -filetype=obj -triple=wasm64-unknown-emscripten %p/Inputs/libsearch-dyn.s -o %t.dyn.o
|
|
# RUN: wasm-ld -mwasm64 -shared %t.ret32.o %t.dyn.o -o %t.lib.so
|
|
# RUN: not wasm-ld -mwasm64 -pie -o %t.wasm %t.o 2>&1 | FileCheck --check-prefix=ERROR %s
|
|
# RUN: wasm-ld -mwasm64 -pie -o %t.wasm %t.o %t.lib.so
|
|
# RUN: obj2yaml %t.wasm | FileCheck %s
|
|
|
|
# ERROR: error: {{.*}}: undefined symbol: ret32
|
|
# ERROR: error: {{.*}}: undefined symbol: _bar
|
|
# ERROR: error: {{.*}}: undefined symbol: _foo_tag
|
|
.functype ret32 (f32) -> (i32)
|
|
.tagtype _foo_tag i32
|
|
.globl _start
|
|
_start:
|
|
.functype _start () -> ()
|
|
f32.const 0.0
|
|
call ret32
|
|
drop
|
|
i32.const _bar@GOT
|
|
drop
|
|
i32.const 0
|
|
throw _foo_tag
|
|
end_function
|
|
|
|
# CHECK: Sections:
|
|
# CHECK-NEXT: - Type: CUSTOM
|
|
# CHECK-NEXT: Name: dylink.0
|
|
# CHECK-NEXT: MemorySize: 0
|
|
# CHECK-NEXT: MemoryAlignment: 0
|
|
# CHECK-NEXT: TableSize: 0
|
|
# CHECK-NEXT: TableAlignment: 0
|
|
# CHECK-NEXT: Needed:
|
|
# CHECK-NEXT: - {{.*}}.lib.so
|
|
#
|
|
# CHECK: Field: _foo_tag
|
|
# CHECK-NEXT: Kind: TAG
|
|
# CHECK-NEXT: SigIndex: 1
|