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
40 lines
1.4 KiB
LLVM
40 lines
1.4 KiB
LLVM
; RUN: opt < %s -mtriple aarch64-linux-android29 -passes=hwasan -S | FileCheck %s --check-prefixes=COMMON,LP,ARM
|
|
; RUN: opt < %s -mtriple x86_64-linux -hwasan-instrument-landing-pads -passes=hwasan -S | FileCheck %s --check-prefixes=COMMON,LP,X86
|
|
; RUN: opt < %s -mtriple aarch64-linux-android30 -passes=hwasan -S | FileCheck %s --check-prefixes=COMMON,NOLP
|
|
|
|
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
|
|
target triple = "aarch64-unknown-linux-android"
|
|
|
|
define i32 @f() local_unnamed_addr sanitize_hwaddress personality ptr @__gxx_personality_v0 {
|
|
entry:
|
|
invoke void @g()
|
|
to label %return unwind label %lpad
|
|
|
|
lpad:
|
|
; COMMON: landingpad { ptr, i32 }
|
|
; COMMON-NEXT: catch ptr null
|
|
%0 = landingpad { ptr, i32 }
|
|
catch ptr null
|
|
|
|
; NOLP-NOT: call void @__hwasan_handle_vfork
|
|
; LP-NEXT: %[[X:[^ ]*]] = call i64 @llvm.read_register.i64(metadata ![[META:[^ ]*]])
|
|
; LP-NEXT: call void @__hwasan_handle_vfork(i64 %[[X]])
|
|
|
|
%1 = extractvalue { ptr, i32 } %0, 0
|
|
%2 = tail call ptr @__cxa_begin_catch(ptr %1)
|
|
tail call void @__cxa_end_catch()
|
|
br label %return
|
|
return:
|
|
%retval.0 = phi i32 [ 1, %lpad ], [ 0, %entry ]
|
|
ret i32 %retval.0
|
|
}
|
|
|
|
declare void @g() local_unnamed_addr
|
|
|
|
declare i32 @__gxx_personality_v0(...)
|
|
declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr
|
|
declare void @__cxa_end_catch() local_unnamed_addr
|
|
|
|
; ARM: ![[META]] = !{!"sp"}
|
|
; X86: ![[META]] = !{!"rsp"}
|