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
99 lines
3.9 KiB
LLVM
99 lines
3.9 KiB
LLVM
; RUN: llc -split-dwarf-file=baz.dwo -split-dwarf-output=%t.dwo -O0 %s -mtriple=x86_64-unknown-windows-msvc -filetype=obj -o %t
|
|
; RUN: llvm-objdump -ht %t | FileCheck --check-prefix=OBJ %s
|
|
; RUN: llvm-objdump -ht %t.dwo | FileCheck --check-prefix=DWO %s
|
|
|
|
; RUN: llc -split-dwarf-file=%t.obj -O0 %s -mtriple=x86_64-unknown-windows-msvc -filetype=obj -o %t.obj
|
|
; RUN: llvm-readobj --section-headers %t.obj | FileCheck --check-prefix=SINGLE %s
|
|
|
|
; This test is derived from test/DebugInfo/X86/fission-cu.ll
|
|
; But it checks that the output objects have the expected sections
|
|
|
|
source_filename = "test/DebugInfo/X86/fission-cu.ll"
|
|
|
|
@a = common global i32 0, align 4, !dbg !0
|
|
|
|
!llvm.dbg.cu = !{!4}
|
|
!llvm.module.flags = !{!7}
|
|
|
|
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
|
|
!1 = !DIGlobalVariable(name: "a", scope: null, file: !2, line: 1, type: !3, isLocal: false, isDefinition: true)
|
|
!2 = !DIFile(filename: "baz.c", directory: "e:\\llvm-project\\tmp")
|
|
!3 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
|
|
!4 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, producer: "clang version 3.3 (trunk 169021) (llvm/trunk 169020)", isOptimized: false, runtimeVersion: 0, splitDebugFilename: "baz.dwo", emissionKind: FullDebug, enums: !5, retainedTypes: !5, globals: !6, imports: !5)
|
|
!5 = !{}
|
|
!6 = !{!0}
|
|
!7 = !{i32 1, !"Debug Info Version", i32 3}
|
|
|
|
; CHECK-LABEL: Sections:
|
|
|
|
; OBJ: Idx Name
|
|
; OBJ-NEXT: 0 .text
|
|
; OBJ-NEXT: 1 .data
|
|
; OBJ-NEXT: 2 .bss
|
|
; OBJ-NEXT: 3 .debug$S
|
|
; OBJ-NEXT: 4 .debug_abbrev
|
|
; OBJ-NEXT: 5 .debug_info
|
|
; OBJ-NEXT: 6 .debug_str
|
|
; OBJ-NEXT: 7 .debug_addr
|
|
; OBJ-NEXT: 8 .debug_pubnames
|
|
; OBJ-NEXT: 9 .debug_pubtypes
|
|
; OBJ-NEXT: 10 .debug_line
|
|
|
|
; OBJ: .debug_abbrev
|
|
; OBJ: .debug_info
|
|
; OBJ-NOT: .dwo
|
|
|
|
; DWO: Idx Name
|
|
; DWO-NEXT: 0 .debug_str.dwo
|
|
; DWO-NEXT: 1 .debug_str_offsets.dwo
|
|
; DWO-NEXT: 2 .debug_info.dwo
|
|
; DWO-NEXT: 3 .debug_abbrev.dwo
|
|
|
|
; DWO: SYMBOL TABLE:
|
|
; DWO-NEXT: [ 0](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_str.dwo
|
|
; DWO-NEXT: AUX scnlen 0x49 nreloc 0 nlnno 0 checksum 0xa4983874 assoc 1 comdat 0
|
|
; DWO-NEXT: [ 2](sec 2)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_str_offsets.dwo
|
|
; DWO-NEXT: AUX scnlen 0x14 nreloc 0 nlnno 0 checksum 0x9392f0f0 assoc 2 comdat 0
|
|
; DWO-NEXT: [ 4](sec 3)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_info.dwo
|
|
; DWO-NEXT: AUX scnlen 0x29 nreloc 0 nlnno 0 checksum 0x{{[0-9a-f]*}} assoc 3 comdat 0
|
|
; DWO-NEXT: [ 6](sec 4)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_abbrev.dwo
|
|
; DWO-NEXT: AUX scnlen 0x33 nreloc 0 nlnno 0 checksum 0x8056e5e4 assoc 4 comdat 0
|
|
; DWO-EMPTY:
|
|
|
|
; SINGLE: Name: .debug_str.dwo
|
|
; SINGLE-NOT: Name:
|
|
; SINGLE: Characteristics [
|
|
; SINGLE-NEXT: IMAGE_SCN_ALIGN_1BYTES
|
|
; SINGLE-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
|
|
; SINGLE-NEXT: IMAGE_SCN_LNK_REMOVE
|
|
; SINGLE-NEXT: IMAGE_SCN_MEM_DISCARDABLE
|
|
; SINGLE-NEXT: IMAGE_SCN_MEM_READ
|
|
; SINGLE-NEXT: ]
|
|
; SINGLE: Name: .debug_str_offsets.dwo
|
|
; SINGLE-NOT: Name:
|
|
; SINGLE: Characteristics [
|
|
; SINGLE-NEXT: IMAGE_SCN_ALIGN_1BYTES
|
|
; SINGLE-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
|
|
; SINGLE-NEXT: IMAGE_SCN_LNK_REMOVE
|
|
; SINGLE-NEXT: IMAGE_SCN_MEM_DISCARDABLE
|
|
; SINGLE-NEXT: IMAGE_SCN_MEM_READ
|
|
; SINGLE-NEXT: ]
|
|
; SINGLE: Name: .debug_info.dwo
|
|
; SINGLE-NOT: Name:
|
|
; SINGLE: Characteristics [
|
|
; SINGLE-NEXT: IMAGE_SCN_ALIGN_1BYTES
|
|
; SINGLE-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
|
|
; SINGLE-NEXT: IMAGE_SCN_LNK_REMOVE
|
|
; SINGLE-NEXT: IMAGE_SCN_MEM_DISCARDABLE
|
|
; SINGLE-NEXT: IMAGE_SCN_MEM_READ
|
|
; SINGLE-NEXT: ]
|
|
; SINGLE: Name: .debug_abbrev.dwo
|
|
; SINGLE-NOT: Name:
|
|
; SINGLE: Characteristics [
|
|
; SINGLE-NEXT: IMAGE_SCN_ALIGN_1BYTES
|
|
; SINGLE-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
|
|
; SINGLE-NEXT: IMAGE_SCN_LNK_REMOVE
|
|
; SINGLE-NEXT: IMAGE_SCN_MEM_DISCARDABLE
|
|
; SINGLE-NEXT: IMAGE_SCN_MEM_READ
|
|
; SINGLE-NEXT: ]
|