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
56 lines
1.4 KiB
ArmAsm
56 lines
1.4 KiB
ArmAsm
# REQUIRES: x86
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-win32 %s -o %t
|
|
# RUN: lld-link /subsystem:console /entry:A %t /out:%t2 /debug:symtab
|
|
# RUN: llvm-nm --numeric-sort %t2 | FileCheck %s --check-prefix=CG-OBJ
|
|
# RUN: lld-link /call-graph-profile-sort:no /subsystem:console /entry:A %t /out:%t3 /debug:symtab
|
|
# RUN: llvm-nm --numeric-sort %t3 | FileCheck %s --check-prefix=NO-CG
|
|
# RUN: echo "D A 200" > %t.call_graph
|
|
# RUN: lld-link /subsystem:console /entry:A %t /out:%t4 /debug:symtab /call-graph-ordering-file:%t.call_graph
|
|
# RUN: llvm-nm --numeric-sort %t4 | FileCheck %s --check-prefix=CG-OBJ-OF
|
|
|
|
.section .text,"ax", one_only, D
|
|
D:
|
|
retq
|
|
|
|
.section .text,"ax", one_only, C
|
|
.globl C
|
|
C:
|
|
retq
|
|
|
|
.section .text,"ax", one_only, B
|
|
.globl B
|
|
B:
|
|
retq
|
|
|
|
.section .text,"ax", one_only, A
|
|
.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: 140001000 T A
|
|
# CG-OBJ-NEXT: 140001000 t Aa
|
|
# CG-OBJ-NEXT: 140001001 T B
|
|
# CG-OBJ-NEXT: 140001002 T C
|
|
# CG-OBJ-NEXT: 140001003 t D
|
|
|
|
# NO-CG: 140001000 t D
|
|
# NO-CG-NEXT: 140001001 T C
|
|
# NO-CG-NEXT: 140001002 T B
|
|
# NO-CG-NEXT: 140001003 T A
|
|
# NO-CG-NEXT: 140001003 t Aa
|
|
|
|
# CG-OBJ-OF: 140001000 t D
|
|
# CG-OBJ-OF-NEXT: 140001001 T A
|
|
# CG-OBJ-OF-NEXT: 140001001 t Aa
|
|
# CG-OBJ-OF-NEXT: 140001004 T C
|
|
# CG-OBJ-OF-NEXT: 140001005 T B
|