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
55 lines
2.4 KiB
LLVM
55 lines
2.4 KiB
LLVM
; RUN: llc -filetype=asm -O0 -mtriple=x86_64-linux-gnu < %s -dwarf-sections-as-references=Enable -dwarf-inlined-strings=Enable -no-dwarf-ranges-section -dwarf-version 3 -debugger-tune=gdb | FileCheck %s
|
|
|
|
; CHECK: .file
|
|
|
|
; CHECK-NOT: .L
|
|
|
|
; CHECK: .section .debug_abbrev
|
|
; CHECK-NOT: DW_FORM_str{{p|x}}
|
|
; CHECK-NOT: .L
|
|
|
|
; CHECK: .section .debug_info
|
|
; CHECK-NOT: .L
|
|
; CHECK: .short 3 # DWARF version number
|
|
; CHECK-NOT: .L
|
|
; CHECK: .long .debug_abbrev # Offset Into Abbrev. Section
|
|
; CHECK-NOT: .L
|
|
; CHECK: .long .debug_line # DW_AT_stmt_list
|
|
; CHECK-NOT: .L
|
|
; CHECK: .long .debug_abbrev # Offset Into Abbrev. Section
|
|
; CHECK-NOT: .L
|
|
; CHECK: .long .debug_line # DW_AT_stmt_list
|
|
; CHECK-NOT: .L
|
|
; CHECK: .long .debug_info+{{[0-9]+}} # DW_AT_type
|
|
; CHECK-NOT: .L
|
|
; CHECK: .byte 0 # End Of Children Mark
|
|
; CHECK-NOT: .L
|
|
|
|
source_filename = "test/DebugInfo/X86/sections_as_references.ll"
|
|
|
|
%struct.foo = type { i8 }
|
|
|
|
@f = global %struct.foo zeroinitializer, align 1, !dbg !0
|
|
@g = global %struct.foo zeroinitializer, align 1, !dbg !6
|
|
|
|
!llvm.dbg.cu = !{!9, !12}
|
|
!llvm.module.flags = !{!14, !15}
|
|
|
|
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
|
|
!1 = !DIGlobalVariable(name: "f", scope: null, file: !2, line: 2, type: !3, isLocal: false, isDefinition: true)
|
|
!2 = !DIFile(filename: "tu1.cpp", directory: "/dir")
|
|
!3 = !DICompositeType(tag: DW_TAG_structure_type, name: "foo", file: !4, line: 1, size: 8, align: 8, elements: !5, identifier: "_ZTS3foo")
|
|
!4 = !DIFile(filename: "./hdr.h", directory: "/dir")
|
|
!5 = !{}
|
|
!6 = !DIGlobalVariableExpression(var: !7, expr: !DIExpression())
|
|
!7 = !DIGlobalVariable(name: "g", scope: null, file: !8, line: 2, type: !3, isLocal: false, isDefinition: true)
|
|
!8 = !DIFile(filename: "tu2.cpp", directory: "/dir")
|
|
!9 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !2, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !5, retainedTypes: !10, globals: !11, imports: !5, nameTableKind: None)
|
|
!10 = !{!3}
|
|
!11 = !{!0}
|
|
!12 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !8, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !5, retainedTypes: !10, globals: !13, imports: !5, nameTableKind: None)
|
|
!13 = !{!6}
|
|
!14 = !{i32 2, !"Dwarf Version", i32 3}
|
|
!15 = !{i32 1, !"Debug Info Version", i32 3}
|
|
|