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
; This test checks that strip-dead-debug-info pass doesn't delete debug compile
|
|
; units if they are used by @llvm.dbg.* intrinsics
|
|
|
|
; RUN: opt -passes='strip-dead-debug-info,verify' %s -S | FileCheck %s
|
|
|
|
; CHECK: !llvm.dbg.cu = !{!{{[0-9]+}}, !{{[0-9]+}}}
|
|
; CHECK-COUNT-2: !DICompileUnit
|
|
|
|
declare void @llvm.dbg.value(metadata, metadata, metadata)
|
|
|
|
define void @func() {
|
|
%a = alloca i64
|
|
call void @llvm.dbg.value(metadata ptr %a, metadata !7, metadata !DIExpression()), !dbg !9
|
|
ret void
|
|
}
|
|
|
|
!llvm.dbg.cu = !{!0, !1}
|
|
!12 = !{null}
|
|
!13 = !DISubroutineType(types: !12)
|
|
!llvm.module.flags = !{!10}
|
|
|
|
|
|
; We have two different compile units to able to check different paths of
|
|
; finding compile units (intrinsic argument and attached location to instruction)
|
|
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !11)
|
|
!1 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !11)
|
|
|
|
!2 = distinct !DISubprogram(name: "func", type: !13, unit: !0)
|
|
!3 = distinct !DICompositeType(tag: DW_TAG_class_type, scope: !2)
|
|
!4 = !DIDerivedType(tag: DW_TAG_member, scope: !3, baseType: !5)
|
|
!5 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !6)
|
|
!6 = !DIBasicType(tag: DW_TAG_base_type)
|
|
!7 = !DILocalVariable(name: "a", type: !5, scope: !8)
|
|
!8 = distinct !DISubprogram(name: "func", type: !13, unit: !1)
|
|
!9 = !DILocation(scope: !8)
|
|
|
|
!10 = !{i32 2, !"Debug Info Version", i32 3}
|
|
|
|
!11 = !DIFile(filename: "a", directory: "")
|