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
76 lines
2.1 KiB
ArmAsm
76 lines
2.1 KiB
ArmAsm
## Check that llvm-bolt is able to overwrite LSDA in ULEB128 format in-place for
|
|
## all types of binaries.
|
|
|
|
# REQUIRES: system-linux
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple x86_64-unknown-linux %s -o %t.o
|
|
# RUN: ld.lld --no-pie %t.o -o %t.exe -q
|
|
# RUN: ld.lld --pie %t.o -o %t.pie -q
|
|
# RUN: ld.lld --shared %t.o -o %t.so -q
|
|
# RUN: llvm-bolt %t.exe -o %t.bolt --strict \
|
|
# RUN: | FileCheck --check-prefix=CHECK-BOLT %s
|
|
# RUN: llvm-bolt %t.pie -o %t.pie.bolt --strict \
|
|
# RUN: | FileCheck --check-prefix=CHECK-BOLT %s
|
|
# RUN: llvm-bolt %t.so -o %t.so.bolt --strict \
|
|
# RUN: | FileCheck --check-prefix=CHECK-BOLT %s
|
|
|
|
# CHECK-BOLT: rewriting .gcc_except_table in-place
|
|
|
|
# RUN: llvm-readelf -WS %t.bolt | FileCheck --check-prefix=CHECK-ELF %s
|
|
# RUN: llvm-readelf -WS %t.pie.bolt | FileCheck --check-prefix=CHECK-ELF %s
|
|
# RUN: llvm-readelf -WS %t.so.bolt | FileCheck --check-prefix=CHECK-ELF %s
|
|
|
|
# CHECK-ELF-NOT: .bolt.org.gcc_except_table
|
|
|
|
.text
|
|
.global foo
|
|
.type foo, %function
|
|
foo:
|
|
.cfi_startproc
|
|
ret
|
|
.cfi_endproc
|
|
.size foo, .-foo
|
|
|
|
.globl _start
|
|
.type _start, %function
|
|
_start:
|
|
.Lfunc_begin0:
|
|
.cfi_startproc
|
|
.cfi_lsda 27, .Lexception0
|
|
call foo
|
|
.Ltmp0:
|
|
call foo
|
|
.Ltmp1:
|
|
ret
|
|
|
|
## Landing pads.
|
|
.LLP1:
|
|
ret
|
|
.LLP0:
|
|
ret
|
|
|
|
.cfi_endproc
|
|
.Lfunc_end0:
|
|
.size _start, .-_start
|
|
|
|
## EH table.
|
|
.section .gcc_except_table,"a",@progbits
|
|
.p2align 2
|
|
GCC_except_table0:
|
|
.Lexception0:
|
|
.byte 255 # @LPStart Encoding = omit
|
|
.byte 255 # @TType Encoding = omit
|
|
.byte 1 # Call site Encoding = uleb128
|
|
.uleb128 .Lcst_end0-.Lcst_begin0
|
|
.Lcst_begin0:
|
|
.uleb128 .Lfunc_begin0-.Lfunc_begin0 # >> Call Site 1 <<
|
|
.uleb128 .Ltmp0-.Lfunc_begin0 # Call between .Lfunc_begin0 and .Ltmp0
|
|
.uleb128 .LLP0-.Lfunc_begin0 # jumps to .LLP0
|
|
.byte 0 # On action: cleanup
|
|
.uleb128 .Ltmp0-.Lfunc_begin0 # >> Call Site 2 <<
|
|
.uleb128 .Ltmp1-.Ltmp0 # Call between .Ltmp0 and .Ltmp1
|
|
.uleb128 .LLP1-.Lfunc_begin0 # jumps to .LLP1
|
|
.byte 0 # On action: cleanup
|
|
.Lcst_end0:
|
|
|