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
47 lines
2.6 KiB
LLVM
47 lines
2.6 KiB
LLVM
; RUN: opt < %s -passes='require<profile-summary>,hwasan' -pass-remarks=hwasan -pass-remarks-missed=hwasan -S -hwasan-percentile-cutoff-hot=700000 2>&1 | FileCheck %s --check-prefix=ALL
|
|
; RUN: opt < %s -passes='require<profile-summary>,hwasan' -pass-remarks=hwasan -pass-remarks-missed=hwasan -S -hwasan-percentile-cutoff-hot=990000 2>&1 | FileCheck %s --check-prefix=NONE
|
|
; RUN: opt < %s -passes='require<profile-summary>,hwasan' -pass-remarks=hwasan -pass-remarks-missed=hwasan -S -hwasan-random-rate=1.0 2>&1 | FileCheck %s --check-prefix=ALL
|
|
; RUN: opt < %s -passes='require<profile-summary>,hwasan' -pass-remarks=hwasan -pass-remarks-missed=hwasan -S -hwasan-random-rate=0.0 2>&1 | FileCheck %s --check-prefix=NONE
|
|
;
|
|
; Skip check if either or both of the skip conditions (-hwasan-random-rate=0.0 or -hwasan-percentile-cutoff-hot=990000) is met.
|
|
; RUN: opt < %s -passes='require<profile-summary>,hwasan' -pass-remarks=hwasan -pass-remarks-missed=hwasan -S -hwasan-random-rate=1.0 -hwasan-percentile-cutoff-hot=700000 2>&1 | FileCheck %s --check-prefix=ALL
|
|
; RUN: opt < %s -passes='require<profile-summary>,hwasan' -pass-remarks=hwasan -pass-remarks-missed=hwasan -S -hwasan-random-rate=1.0 -hwasan-percentile-cutoff-hot=990000 2>&1 | FileCheck %s --check-prefix=NONE
|
|
; RUN: opt < %s -passes='require<profile-summary>,hwasan' -pass-remarks=hwasan -pass-remarks-missed=hwasan -S -hwasan-random-rate=0.0 -hwasan-percentile-cutoff-hot=700000 2>&1 | FileCheck %s --check-prefix=NONE
|
|
; RUN: opt < %s -passes='require<profile-summary>,hwasan' -pass-remarks=hwasan -pass-remarks-missed=hwasan -S -hwasan-random-rate=0.0 -hwasan-percentile-cutoff-hot=990000 2>&1 | FileCheck %s --check-prefix=NONE
|
|
|
|
; ALL: remark: <unknown>:0:0: Sanitized: F=sanitize
|
|
; ALL: @sanitized
|
|
; ALL-NEXT: @__hwasan_tls
|
|
|
|
; NONE: remark: <unknown>:0:0: Skipped: F=sanitized
|
|
; NONE: @sanitized
|
|
; NONE-NEXT: %x = alloca i8, i64 4
|
|
|
|
declare void @use(ptr)
|
|
|
|
define void @sanitized(i32 noundef %0) sanitize_hwaddress !prof !36 {
|
|
%x = alloca i8, i64 4
|
|
call void @use(ptr %x)
|
|
ret void
|
|
}
|
|
|
|
!llvm.module.flags = !{!6}
|
|
!6 = !{i32 1, !"ProfileSummary", !7}
|
|
!7 = !{!8, !9, !10, !11, !12, !13, !14, !17}
|
|
!8 = !{!"ProfileFormat", !"InstrProf"}
|
|
!9 = !{!"TotalCount", i64 30000}
|
|
!10 = !{!"MaxCount", i64 10000}
|
|
!11 = !{!"MaxInternalCount", i64 10000}
|
|
!12 = !{!"MaxFunctionCount", i64 10000}
|
|
!13 = !{!"NumCounts", i64 3}
|
|
!14 = !{!"NumFunctions", i64 5}
|
|
!17 = !{!"DetailedSummary", !18}
|
|
!18 = !{!19, !29, !30, !32, !34}
|
|
!19 = !{i32 10000, i64 10000, i32 3}
|
|
!29 = !{i32 950000, i64 5000, i32 3}
|
|
!30 = !{i32 990000, i64 500, i32 4}
|
|
!32 = !{i32 999900, i64 250, i32 4}
|
|
!34 = !{i32 999999, i64 1, i32 6}
|
|
|
|
!36 = !{!"function_entry_count", i64 1000}
|