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
100 lines
2.6 KiB
ArmAsm
100 lines
2.6 KiB
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc %s -triple x86_64-windows-msvc -filetype=obj -o %t.obj
|
|
# RUN: lld-link %t.obj -dll -noentry -out:%t.dll -merge:.xdata=.xdata 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=WARN
|
|
# RUN: llvm-readobj --sections %t.dll | FileCheck %s --check-prefix=XDATA
|
|
# RUN: lld-link %t.obj -dll -noentry -out:%t.dll
|
|
# RUN: llvm-readobj --sections %t.dll | FileCheck %s --check-prefix=RDATA
|
|
|
|
# There shouldn't be much xdata, because all three .pdata entries (12 bytes
|
|
# each) should use the same .xdata unwind info.
|
|
# XDATA: Name: .rdata
|
|
# XDATA-NEXT: VirtualSize: 0x6F
|
|
# XDATA: Name: .pdata
|
|
# XDATA-NEXT: VirtualSize: 0x24
|
|
# XDATA: Name: .xdata
|
|
# XDATA-NEXT: VirtualSize: 0x8
|
|
#
|
|
# WARN: warning: .xdata=.rdata: already merged into .xdata
|
|
#
|
|
# RDATA: Name: .rdata
|
|
# RDATA-NEXT: VirtualSize: 0x78
|
|
# RDATA: Name: .pdata
|
|
# RDATA-NEXT: VirtualSize: 0x24
|
|
|
|
.text
|
|
callee:
|
|
ret
|
|
|
|
.def xdata1;
|
|
.scl 2;
|
|
.type 32;
|
|
.endef
|
|
.section .text,"xr",one_only,xdata1
|
|
.globl xdata1 # -- Begin function xdata1
|
|
.p2align 4, 0x90
|
|
xdata1: # @xdata1
|
|
.seh_proc xdata1
|
|
# BB#0: # %entry
|
|
subq $40, %rsp
|
|
.seh_stackalloc 40
|
|
.seh_endprologue
|
|
callq callee
|
|
nop
|
|
addq $40, %rsp
|
|
jmp callee # TAILCALL
|
|
.seh_handlerdata
|
|
.section .text,"xr",one_only,xdata1
|
|
.seh_endproc
|
|
# -- End function
|
|
.def xdata2;
|
|
.scl 2;
|
|
.type 32;
|
|
.endef
|
|
.section .text,"xr",one_only,xdata2
|
|
.globl xdata2 # -- Begin function xdata2
|
|
.p2align 4, 0x90
|
|
xdata2: # @xdata2
|
|
.seh_proc xdata2
|
|
# BB#0: # %entry
|
|
subq $40, %rsp
|
|
.seh_stackalloc 40
|
|
.seh_endprologue
|
|
callq callee
|
|
callq callee
|
|
nop
|
|
addq $40, %rsp
|
|
jmp callee # TAILCALL
|
|
.seh_handlerdata
|
|
.section .text,"xr",one_only,xdata2
|
|
.seh_endproc
|
|
# -- End function
|
|
.def xdata3;
|
|
.scl 2;
|
|
.type 32;
|
|
.endef
|
|
.section .text,"xr",one_only,xdata3
|
|
.globl xdata3 # -- Begin function xdata3
|
|
.p2align 4, 0x90
|
|
xdata3: # @xdata3
|
|
.seh_proc xdata3
|
|
# BB#0: # %entry
|
|
subq $40, %rsp
|
|
.seh_stackalloc 40
|
|
.seh_endprologue
|
|
callq callee
|
|
callq callee
|
|
callq callee
|
|
nop
|
|
addq $40, %rsp
|
|
jmp callee # TAILCALL
|
|
.seh_handlerdata
|
|
.section .text,"xr",one_only,xdata3
|
|
.seh_endproc
|
|
# -- End function
|
|
.section .drectve,"yn"
|
|
.ascii " -export:xdata1"
|
|
.ascii " -export:xdata2"
|
|
.ascii " -export:xdata3"
|
|
|