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
60 lines
2.7 KiB
LLVM
60 lines
2.7 KiB
LLVM
; RUN: %llc_dwarf -dwarf-version=3 -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK-V3 %s
|
|
; RUN: %llc_dwarf -dwarf-version=2 -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK-V2 --implicit-check-not=DW_FORM_ref_addr %s
|
|
|
|
; DWARF v2 is incompatible with 64-bit XCOFF/AIX (requires DWARF64 format which needs DWARF v3+).
|
|
; UNSUPPORTED: target=powerpc64{{.*}}-aix{{.*}}
|
|
|
|
; DWARF V3: Expect cross-CU type deduplication resulting in only one "int"
|
|
; definition and a DW_FORM_ref_addr.
|
|
|
|
; CHECK-V3: Compile Unit{{.*}} version = 0x0003
|
|
|
|
; CHECK-V3: DW_TAG_compile_unit
|
|
; CHECK-V3: DW_AT_name{{.*}}"x"
|
|
; CHECK-V3-NEXT: DW_AT_type [DW_FORM_ref4]{{.*}}{0x[[INT_ADDR:[0-9a-f]+]]}
|
|
; CHECK-V3: [[INT_ADDR]]:{{.*}}DW_TAG_base_type
|
|
; CHECK-V3-NEXT: DW_AT_name{{.*}}"int"
|
|
|
|
; CHECK-V3: DW_TAG_compile_unit
|
|
; CHECK-V3: DW_AT_name{{.*}}"y"
|
|
; CHECK-V3-NEXT: DW_AT_type [DW_FORM_ref_addr]{{.*}}0x{{0*}}[[INT_ADDR]]
|
|
|
|
; DWARF V2: cross-CU type deduplication disabled resulting in two "int"
|
|
; definitions and no DW_FORM_ref_addr (cross-CU ref)
|
|
|
|
; CHECK-V2: Compile Unit{{.*}} version = 0x0002
|
|
|
|
; CHECK-V2: DW_TAG_compile_unit
|
|
; CHECK-V2: DW_AT_name{{.*}}"x"
|
|
; CHECK-V2-NEXT: DW_AT_type [DW_FORM_ref4]{{.*}}{0x[[X_INT_ADDR:[0-9a-f]+]]}
|
|
; CHECK-V2: [[X_INT_ADDR]]:{{.*}}DW_TAG_base_type
|
|
; CHECK-V2-NEXT: DW_AT_name{{.*}}"int"
|
|
|
|
; CHECK-V2: DW_TAG_compile_unit
|
|
; CHECK-V2: DW_AT_name{{.*}}"y"
|
|
; CHECK-V2-NEXT: DW_AT_type [DW_FORM_ref4]{{.*}}{0x[[Y_INT_ADDR:[0-9a-f]+]]}
|
|
; CHECK-V2: [[Y_INT_ADDR]]:{{.*}}DW_TAG_base_type
|
|
; CHECK-V2-NEXT: DW_AT_name{{.*}}"int"
|
|
|
|
@x = global i32 0, !dbg !0
|
|
@y = global i32 0, !dbg !7
|
|
|
|
!llvm.dbg.cu = !{!2, !9}
|
|
!llvm.module.flags = !{!13, !14}
|
|
!llvm.ident = !{!15}
|
|
|
|
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
|
|
!1 = distinct !DIGlobalVariable(name: "x", scope: !2, file: !3, line: 1, type: !5, isLocal: false, isDefinition: true)
|
|
!2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, globals: !4)
|
|
!3 = !DIFile(filename: "a.cpp", directory: "/tmp/dbginfo")
|
|
!4 = !{!0}
|
|
!5 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
|
|
!7 = !DIGlobalVariableExpression(var: !8, expr: !DIExpression())
|
|
!8 = distinct !DIGlobalVariable(name: "y", scope: !9, file: !10, line: 1, type: !5, isLocal: false, isDefinition: true)
|
|
!9 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !10, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, globals: !11)
|
|
!10 = !DIFile(filename: "b.cpp", directory: "/tmp/dbginfo")
|
|
!11 = !{!7}
|
|
!13 = !{i32 2, !"Dwarf Version", i32 2}
|
|
!14 = !{i32 2, !"Debug Info Version", i32 3}
|
|
!15 = !{!"clang"}
|