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
59 lines
1.4 KiB
ArmAsm
59 lines
1.4 KiB
ArmAsm
/// Test the callgraph section to make sure the indirect callsites
|
|
/// (annotated by generated temporary labels .Ltmp*) are associated
|
|
/// with the corresponding callee type identifiers.
|
|
|
|
// RUN: llvm-mc -triple=x86_64 -filetype=obj -o - < %s | llvm-readelf -x .llvm.callgraph - | FileCheck %s
|
|
|
|
.text
|
|
.globl ball # -- Begin function ball
|
|
.p2align 4
|
|
.type ball,@function
|
|
ball: # @ball
|
|
.Lfunc_begin0:
|
|
# %bb.0: # %entry
|
|
pushq %rbx
|
|
subq $32, %rsp
|
|
movl $0, 4(%rsp)
|
|
movq foo@GOTPCREL(%rip), %rcx
|
|
movq %rcx, 24(%rsp)
|
|
xorl %eax, %eax
|
|
callq *%rcx
|
|
.Ltmp0:
|
|
movq bar@GOTPCREL(%rip), %rax
|
|
movq %rax, 16(%rsp)
|
|
movsbl 3(%rsp), %edi
|
|
callq *%rax
|
|
.Ltmp1:
|
|
movq baz@GOTPCREL(%rip), %rax
|
|
movq %rax, 8(%rsp)
|
|
leaq 3(%rsp), %rbx
|
|
movq %rbx, %rdi
|
|
callq *%rax
|
|
.Ltmp2:
|
|
callq foo@PLT
|
|
movsbl 3(%rsp), %edi
|
|
callq bar@PLT
|
|
movq %rbx, %rdi
|
|
callq baz@PLT
|
|
addq $32, %rsp
|
|
popq %rbx
|
|
retq
|
|
.section .llvm.callgraph,"o",@progbits,.text
|
|
.quad 0
|
|
.quad .Lfunc_begin0
|
|
.quad 1
|
|
.quad 3
|
|
/// MD5 hash of the callee type ID for foo.
|
|
// CHECK: 2444f731 f5eecb3e
|
|
.quad 0x3ecbeef531f74424
|
|
.quad .Ltmp0
|
|
/// MD5 hash of the callee type ID for bar.
|
|
// CHECK: 5486bc59 814b8e30
|
|
.quad 0x308e4b8159bc8654
|
|
.quad .Ltmp1
|
|
/// MD5 hash of the callee type ID for baz.
|
|
// CHECK: 7ade6814 f897fd77
|
|
.quad 0x77fd97f81468de7a
|
|
.quad .Ltmp2
|
|
.text
|