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
64 lines
2.5 KiB
LLVM
64 lines
2.5 KiB
LLVM
; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips \
|
|
; RUN: -relocation-model=static -O3 -filetype=obj -o - %s | \
|
|
; RUN: llvm-readelf -r - | FileCheck %s --check-prefixes=STATIC
|
|
; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips \
|
|
; RUN: -relocation-model=pic -O3 -filetype=obj -o - %s | \
|
|
; RUN: llvm-readelf -r - | FileCheck %s --check-prefixes=PIC
|
|
; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips \
|
|
; RUN: -relocation-model=static -O3 -filetype=obj -o - %s | \
|
|
; RUN: llvm-objdump -s -j .gcc_except_table - | FileCheck %s --check-prefix=EXCEPT-TABLE-STATIC
|
|
; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips \
|
|
; RUN: -relocation-model=pic -O3 -filetype=obj -o - %s | \
|
|
; RUN: llvm-objdump -s -j .gcc_except_table - | FileCheck %s --check-prefix=EXCEPT-TABLE-PIC
|
|
|
|
; STATIC-LABEL: Relocation section '.rel.eh_frame'
|
|
; STATIC-DAG: R_MIPS_32 00000000 DW.ref.__gxx_personality_v0
|
|
; STATIC-DAG: R_MIPS_32 00000000 .text
|
|
; STATIC-DAG: R_MIPS_32 00000000 .gcc_except_table
|
|
|
|
; PIC-LABEL: Relocation section '.rel.eh_frame'
|
|
; PIC-DAG: R_MIPS_PC32 00000000 DW.ref.__gxx_personality_v0
|
|
; PIC-DAG: R_MIPS_PC32 00000000 .L0
|
|
; PIC-DAG: R_MIPS_PC32 00000000 .L0
|
|
|
|
; CHECK-READELF: DW.ref.__gxx_personality_v0
|
|
; CHECK-READELF-STATIC-NEXT: R_MIPS_32 00000000 .text
|
|
; CHECK-READELF-PIC-NEXT: R_MIPS_PC32
|
|
; CHECK-READELF-NEXT: .gcc_except_table
|
|
|
|
; EXCEPT-TABLE-STATIC: 0000 ff9b1501 0c001400 00140e22 01221e00 ..........."."..
|
|
; EXCEPT-TABLE-STATIC: 0010 00010000 00000000
|
|
; EXCEPT-TABLE-PIC: 0000 ff9b1501 0c002c00 002c123e 013e2a00 ......,..,.>.>*.
|
|
; EXCEPT-TABLE-PIC: 0010 00010000 00000000 ........
|
|
|
|
@_ZTIi = external constant ptr
|
|
|
|
define dso_local i32 @main() local_unnamed_addr personality ptr @__gxx_personality_v0 {
|
|
entry:
|
|
%exception.i = tail call ptr @__cxa_allocate_exception(i32 4) nounwind
|
|
store i32 5, ptr %exception.i, align 16
|
|
invoke void @__cxa_throw(ptr %exception.i, ptr @_ZTIi, ptr null) noreturn
|
|
to label %.noexc unwind label %return
|
|
|
|
.noexc:
|
|
unreachable
|
|
|
|
return:
|
|
%0 = landingpad { ptr, i32 }
|
|
catch ptr null
|
|
%1 = extractvalue { ptr, i32 } %0, 0
|
|
%2 = tail call ptr @__cxa_begin_catch(ptr %1) nounwind
|
|
tail call void @__cxa_end_catch()
|
|
ret i32 0
|
|
}
|
|
|
|
declare i32 @__gxx_personality_v0(...)
|
|
|
|
declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr
|
|
|
|
declare void @__cxa_end_catch() local_unnamed_addr
|
|
|
|
declare ptr @__cxa_allocate_exception(i32) local_unnamed_addr
|
|
|
|
declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr
|