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
55 lines
1.5 KiB
ArmAsm
55 lines
1.5 KiB
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin19.0.0 -emit-compact-unwind-non-canonical=true %s -o %t.o
|
|
# RUN: %lld -arch x86_64 -dylib %t.o -o %t.dylib
|
|
# RUN: llvm-objdump --macho --syms --unwind-info %t.dylib | FileCheck %s
|
|
|
|
## Both _f and _g have the same compact unwind encoding,
|
|
## but different stack sizes. So their compact unwindings
|
|
## can't be merged.
|
|
# CHECK: SYMBOL TABLE:
|
|
# CHECK: [[#%x,F:]] g F __TEXT,__text _f
|
|
# CHECK: [[#%x,G:]] g F __TEXT,__text _g
|
|
# CHECK: Number of common encodings in array: 0x1
|
|
# CHECK: Common encodings: (count = 1)
|
|
# CHECK: encoding[0]: 0x03032000
|
|
# CHECK: Second level indices:
|
|
# CHECK: Second level index[0]:
|
|
# CHECK: [0]: function offset=0x[[#%.8x,F]], encoding[0]=0x03032000
|
|
# CHECK: [1]: function offset=0x[[#%.8x,G]], encoding[0]=0x03032000
|
|
|
|
## Based on compiling
|
|
## int f() {
|
|
## char alloca[3260] = { 0 };
|
|
## return alloca[0];
|
|
## }
|
|
##
|
|
## int g() {
|
|
## char alloca[2560] = { 0 };
|
|
## return alloca[0];
|
|
## }
|
|
## with `-fomit-frame-pointer -fno-stack-protector -S`.
|
|
.section __TEXT,__text,regular,pure_instructions
|
|
.build_version macos, 10, 15 sdk_version 10, 15, 6
|
|
|
|
.globl _f
|
|
.p2align 4, 0x90
|
|
_f:
|
|
.cfi_startproc
|
|
subq $3272, %rsp
|
|
.cfi_def_cfa_offset 3280
|
|
addq $3272, %rsp
|
|
retq
|
|
.cfi_endproc
|
|
|
|
.globl _g
|
|
.p2align 4, 0x90
|
|
_g:
|
|
.cfi_startproc
|
|
subq $2568, %rsp
|
|
.cfi_def_cfa_offset 2576
|
|
addq $2568, %rsp
|
|
retq
|
|
.cfi_endproc
|
|
|
|
.subsections_via_symbols
|