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
61 lines
1.5 KiB
ArmAsm
61 lines
1.5 KiB
ArmAsm
REQUIRES: aarch64, x86
|
|
RUN: split-file %s %t.dir && cd %t.dir
|
|
|
|
RUN: llvm-mc -filetype=obj -triple=arm64ec-windows test.s -o test.obj
|
|
RUN: llvm-mc -filetype=obj -triple=arm64ec-windows dll.s -o dll.obj
|
|
RUN: llvm-mc -filetype=obj -triple=arm64ec-windows %S/Inputs/loadconfig-arm64ec.s -o loadconfig-arm64ec.obj
|
|
|
|
RUN: lld-link -machine:arm64ec -dll -noentry -out:import.dll loadconfig-arm64ec.obj dll.obj \
|
|
RUN: -export:func -export:func2=func -export:func3=func -export:func4=func \
|
|
RUN: -export:data,DATA -noimplib
|
|
|
|
RUN: lld-link -machine:arm64ec -dll -noentry -out:out.dll loadconfig-arm64ec.obj test.obj import.dll \
|
|
RUN: -lldmingw -exclude-all-symbols -auto-import:no
|
|
|
|
RUN: llvm-readobj --coff-imports out.dll | FileCheck --check-prefix=IMPORTS %s
|
|
IMPORTS: Import {
|
|
IMPORTS-NEXT: Name: import.dll
|
|
IMPORTS-NEXT: ImportLookupTableRVA:
|
|
IMPORTS-NEXT: ImportAddressTableRVA:
|
|
IMPORTS-NEXT: Symbol: data (0)
|
|
IMPORTS-NEXT: Symbol: func (0)
|
|
IMPORTS-NEXT: Symbol: func2 (0)
|
|
IMPORTS-NEXT: Symbol: func3 (0)
|
|
IMPORTS-NEXT: Symbol: func4 (0)
|
|
IMPORTS-NEXT: }
|
|
|
|
#--- test.s
|
|
.weak_anti_dep func
|
|
.weak_anti_dep "#func"
|
|
.set func,"#func"
|
|
.set "#func",thunk
|
|
|
|
.section .test, "r"
|
|
.rva __imp_data
|
|
.rva func
|
|
.rva "#func2"
|
|
.rva __imp_aux_func3
|
|
.rva __imp_func4
|
|
|
|
.text
|
|
.globl thunk
|
|
thunk:
|
|
ret
|
|
|
|
.globl __icall_helper_arm64ec
|
|
.p2align 2, 0x0
|
|
__icall_helper_arm64ec:
|
|
mov w0, #0
|
|
ret
|
|
|
|
#--- dll.s
|
|
.text
|
|
.globl func
|
|
func:
|
|
ret
|
|
|
|
.data
|
|
.globl data
|
|
data:
|
|
.word 0
|