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.6 KiB
ArmAsm
59 lines
1.6 KiB
ArmAsm
# REQUIRES: x86
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
|
|
# RUN: ld.lld -e A %t.o -o %t
|
|
# RUN: llvm-nm --no-sort %t | FileCheck %s --check-prefix=CG-OBJ
|
|
# RUN: ld.lld --call-graph-profile-sort=none -e A %t.o -o %t
|
|
# RUN: llvm-nm --no-sort %t | FileCheck %s --check-prefix=NO-CG
|
|
## --no-call-graph-profile-sort is an alias for --call-graph-profile-sort=none.
|
|
# RUN: ld.lld --no-call-graph-profile-sort -e A %t.o -o %t1
|
|
# RUN: cmp %t %t1
|
|
# RUN: echo "D A 200" > %t.call_graph
|
|
# RUN: ld.lld -e A %t.o -call-graph-ordering-file=%t.call_graph -o %t2
|
|
# RUN: llvm-nm --no-sort %t2 | FileCheck %s --check-prefix=CG-OBJ-OF
|
|
|
|
.section .text.D,"ax",@progbits
|
|
D:
|
|
retq
|
|
|
|
.section .text.C,"ax",@progbits
|
|
.globl C
|
|
C:
|
|
retq
|
|
|
|
.section .text.B,"ax",@progbits
|
|
.globl B
|
|
B:
|
|
retq
|
|
|
|
.section .text.A,"ax",@progbits
|
|
.globl A
|
|
A:
|
|
Aa:
|
|
retq
|
|
|
|
.cg_profile A, B, 10
|
|
.cg_profile A, B, 10
|
|
.cg_profile Aa, B, 80
|
|
.cg_profile A, C, 40
|
|
.cg_profile B, C, 30
|
|
.cg_profile C, D, 90
|
|
|
|
# CG-OBJ: 0000000000201123 t D
|
|
# CG-OBJ-NEXT: 0000000000201120 t Aa
|
|
# CG-OBJ-NEXT: 0000000000201122 T C
|
|
# CG-OBJ-NEXT: 0000000000201121 T B
|
|
# CG-OBJ-NEXT: 0000000000201120 T A
|
|
|
|
# NO-CG: 0000000000201120 t D
|
|
# NO-CG-NEXT: 0000000000201123 t Aa
|
|
# NO-CG-NEXT: 0000000000201121 T C
|
|
# NO-CG-NEXT: 0000000000201122 T B
|
|
# NO-CG-NEXT: 0000000000201123 T A
|
|
|
|
# CG-OBJ-OF: 0000000000201120 t D
|
|
# CG-OBJ-OF-NEXT: 0000000000201121 t Aa
|
|
# CG-OBJ-OF-NEXT: 0000000000201124 T C
|
|
# CG-OBJ-OF-NEXT: 0000000000201125 T B
|
|
# CG-OBJ-OF-NEXT: 0000000000201121 T A
|