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
103 lines
3.2 KiB
ArmAsm
103 lines
3.2 KiB
ArmAsm
// This test checks that the unwinding opcodes are remapped to more
|
|
// efficient ones where possible.
|
|
|
|
// RUN: llvm-mc -triple aarch64-pc-win32 -filetype=obj %s -o %t.o
|
|
// RUN: llvm-readobj -u %t.o | FileCheck %s
|
|
|
|
// CHECK: UnwindInformation [
|
|
// CHECK-NEXT: RuntimeFunction {
|
|
// CHECK-NEXT: Function: func
|
|
// CHECK-NEXT: ExceptionRecord: .xdata
|
|
// CHECK-NEXT: ExceptionData {
|
|
// CHECK: Prologue [
|
|
// CHECK-NEXT: 0xd882 ; stp d10, d11, [sp, #16]
|
|
// CHECK-NEXT: 0xda07 ; stp d8, d9, [sp, #-64]!
|
|
// CHECK-NEXT: 0xe6 ; save next
|
|
// CHECK-NEXT: 0x28 ; stp x19, x20, [sp, #-64]!
|
|
// CHECK-NEXT: 0xca49 ; stp x28, x29, [sp, #72]
|
|
// CHECK-NEXT: 0xe6 ; save next
|
|
// CHECK-NEXT: 0xe6 ; save next
|
|
// CHECK-NEXT: 0xe6 ; save next
|
|
// CHECK-NEXT: 0xcc47 ; stp x20, x21, [sp, #-64]!
|
|
// CHECK-NEXT: 0x42 ; stp x29, x30, [sp, #16]
|
|
// CHECK-NEXT: 0xca02 ; stp x27, x28, [sp, #16]
|
|
// CHECK-NEXT: 0x83 ; stp x29, x30, [sp, #-32]!
|
|
// CHECK-NEXT: 0xce03 ; stp x27, x28, [sp, #-32]!
|
|
// CHECK-NEXT: 0xe1 ; mov fp, sp
|
|
// CHECK-NEXT: 0xe201 ; add fp, sp, #8
|
|
// CHECK-NEXT: 0xe4 ; end
|
|
// CHECK-NEXT: ]
|
|
// CHECK-NEXT: Epilogue [
|
|
// CHECK-NEXT: 0xc904 ; ldp x23, x24, [sp, #32]
|
|
// CHECK-NEXT: 0xe6 ; restore next
|
|
// CHECK-NEXT: 0xcc83 ; ldp x21, x22, [sp], #32
|
|
// CHECK-NEXT: 0x24 ; ldp x19, x20, [sp], #32
|
|
// CHECK-NEXT: 0xcc1f ; ldp x19, x20, [sp], #256
|
|
// CHECK-NEXT: 0xe4 ; end
|
|
// CHECK-NEXT: ]
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: ]
|
|
|
|
|
|
.text
|
|
.globl func
|
|
.seh_proc func
|
|
func:
|
|
add x29, sp, #8
|
|
.seh_add_fp 8
|
|
add x29, sp, #0
|
|
.seh_add_fp 0
|
|
|
|
stp x27, x28, [sp, #-32]!
|
|
.seh_save_regp_x x27, 32
|
|
stp x29, x30, [sp, #-32]!
|
|
.seh_save_regp_x x29, 32
|
|
|
|
stp x27, x28, [sp, #16]
|
|
.seh_save_regp x27, 16
|
|
stp x29, x30, [sp, #16]
|
|
.seh_save_regp x29, 16
|
|
|
|
stp x20, x21, [sp, #-64]!
|
|
.seh_save_regp_x x20, 64
|
|
stp x22, x23, [sp, #16]
|
|
.seh_save_regp x22, 16
|
|
stp x24, x25, [sp, #32]
|
|
.seh_save_next
|
|
stp x26, x27, [sp, #48]
|
|
.seh_save_regp x26, 48
|
|
stp x28, x29, [sp, #72]
|
|
.seh_save_regp x28, 72
|
|
|
|
stp x19, x20, [sp, #-64]!
|
|
.seh_save_r19r20_x 64
|
|
stp x21, x22, [sp, #16]
|
|
.seh_save_regp x21, 16
|
|
|
|
stp d8, d9, [sp, #-64]!
|
|
.seh_save_fregp_x d8, 64
|
|
stp d10, d11, [sp, #16]
|
|
// This is intentionally not converted into a save_next, to avoid
|
|
// bugs in the windows unwinder.
|
|
.seh_save_fregp d10, 16
|
|
|
|
.seh_endprologue
|
|
|
|
nop
|
|
|
|
.seh_startepilogue
|
|
ldp x23, x24, [sp, #32]
|
|
.seh_save_regp x23, 32
|
|
ldp x23, x24, [sp, #16]
|
|
.seh_save_regp x23, 16
|
|
ldp x21, x22, [sp], #32
|
|
.seh_save_regp_x x21, 32
|
|
ldp x19, x20, [sp], #32
|
|
.seh_save_regp_x x19, 32
|
|
ldp x19, x20, [sp], #256
|
|
.seh_save_regp_x x19, 256
|
|
.seh_endepilogue
|
|
ret
|
|
.seh_endproc
|