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
86 lines
3.1 KiB
LLVM
86 lines
3.1 KiB
LLVM
; RUN: sed -e s/.Cxx:// %s | llc -mtriple=x86_64-pc-windows-msvc | FileCheck %s --check-prefixes=CXX
|
|
; RUN: sed -e s/.Seh:// %s | llc -mtriple=x86_64-pc-windows-msvc | FileCheck %s --check-prefixes=SEH
|
|
; RUN: %if aarch64-registered-target %{ sed -e s/.Cxx:// %s | llc -mtriple=aarch64-pc-windows-msvc | FileCheck %s --check-prefix=CXX %}
|
|
; RUN: %if aarch64-registered-target %{ sed -e s/.Seh:// %s | llc -mtriple=aarch64-pc-windows-msvc | FileCheck %s --check-prefix=SEH %}
|
|
|
|
declare i32 @__CxxFrameHandler3(...)
|
|
declare i32 @__C_specific_handler(...)
|
|
declare void @dummy_filter()
|
|
|
|
declare void @f(i32)
|
|
|
|
;Cxx: define void @test() personality ptr @__CxxFrameHandler3 {
|
|
;Seh: define void @test() personality ptr @__C_specific_handler {
|
|
entry:
|
|
invoke void @f(i32 1)
|
|
to label %invoke.cont unwind label %catch.dispatch
|
|
|
|
catch.dispatch:
|
|
%cs1 = catchswitch within none [label %catch.body] unwind label %catch.dispatch.2
|
|
|
|
catch.body:
|
|
;Cxx: %catch = catchpad within %cs1 [ptr null, i32 u0x40, ptr null]
|
|
;Seh: %catch = catchpad within %cs1 [ptr @dummy_filter]
|
|
invoke void @f(i32 2) [ "funclet"(token %catch) ]
|
|
to label %unreachable unwind label %terminate
|
|
|
|
terminate:
|
|
%cleanup = cleanuppad within %catch []
|
|
call void @f(i32 3) [ "funclet"(token %cleanup) ]
|
|
unreachable
|
|
|
|
unreachable:
|
|
unreachable
|
|
|
|
invoke.cont:
|
|
ret void
|
|
|
|
catch.dispatch.2:
|
|
%cs2 = catchswitch within none [label %catch.body.2] unwind to caller
|
|
|
|
catch.body.2:
|
|
;Cxx: %catch2 = catchpad within %cs2 [ptr null, i32 u0x40, ptr null]
|
|
;Seh: %catch2 = catchpad within %cs2 [ptr @dummy_filter]
|
|
unreachable
|
|
}
|
|
|
|
; CXX-LABEL: test:
|
|
; CXX-LABEL: $ip2state$test:
|
|
; CXX-NEXT: .[[ENTRY:long|word]] .Lfunc_begin0@IMGREL
|
|
; CXX-NEXT: .[[ENTRY]] -1
|
|
; CXX-NEXT: .[[ENTRY]] .Ltmp0@IMGREL
|
|
; CXX-NEXT: .[[ENTRY]] 1
|
|
; CXX-NEXT: .[[ENTRY]] .Ltmp1@IMGREL
|
|
; CXX-NEXT: .[[ENTRY]] -1
|
|
; CXX-NEXT: .[[ENTRY]] "?catch$3@?0?test@4HA"@IMGREL
|
|
; CXX-NEXT: .[[ENTRY]] 2
|
|
; CXX-NEXT: .[[ENTRY]] .Ltmp2@IMGREL
|
|
; CXX-NEXT: .[[ENTRY]] 3
|
|
; CXX-NEXT: .[[ENTRY]] .Ltmp3@IMGREL
|
|
; CXX-NEXT: .[[ENTRY]] 2
|
|
; CXX-NEXT: .[[ENTRY]] "?catch$5@?0?test@4HA"@IMGREL
|
|
; CXX-NEXT: .[[ENTRY]] 4
|
|
|
|
; SEH-LABEL: test:
|
|
; SEH: .LBB0_[[CATCH2:[0-9]+]]: {{.*}} %catch.body.2
|
|
; SEH: .LBB0_[[CATCH:[0-9]+]]: {{.*}} %catch.body
|
|
; SEH-LABEL: .Llsda_begin0:
|
|
; SEH-NEXT: .[[ENTRY:long|word]] .Ltmp0@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] .Ltmp1@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] dummy_filter@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] .LBB0_[[CATCH]]@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] .Ltmp0@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] .Ltmp1@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] dummy_filter@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] .LBB0_[[CATCH2]]@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] .Ltmp2@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] .Ltmp3@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] "?dtor$[[DTOR:[0-9]+]]@?0?test@4HA"@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] 0
|
|
; SEH-NEXT: .[[ENTRY]] .Ltmp2@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] .Ltmp3@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] dummy_filter@IMGREL
|
|
; SEH-NEXT: .[[ENTRY]] .LBB0_[[CATCH2]]@IMGREL
|
|
; SEH-NEXT: .Llsda_end0:
|
|
; SEH: "?dtor$[[DTOR]]@?0?test@4HA"
|