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
62 lines
2.5 KiB
ArmAsm
62 lines
2.5 KiB
ArmAsm
# This test verifies that an empty range list in the .debug_ranges section
|
|
# doesn't crash dsymutil. As clang does not produce this kind of debug
|
|
# info anymore, we used this hand-crafted assembly file to produce a testcase
|
|
# Compile with:
|
|
# llvm-mc -triple x86_64-apple-darwin -filetype=obj -o 1.o empty_range.o
|
|
|
|
# RUN: dsymutil --linker classic -f -y %p/dummy-debug-map.map -oso-prepend-path %p/../Inputs/empty_range -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
|
|
|
.section __TEXT,__text,regular,pure_instructions
|
|
.macosx_version_min 10, 11
|
|
.globl __Z3foov
|
|
.align 4, 0x90
|
|
__Z3foov: ## @_Z3foov
|
|
Lfunc_begin0:
|
|
pushq %rbp
|
|
movq %rsp, %rbp
|
|
popq %rbp
|
|
retq
|
|
Lfunc_end0:
|
|
.section __DWARF,__debug_abbrev,regular,debug
|
|
Lsection_abbrev:
|
|
.byte 1 ## Abbreviation Code
|
|
.byte 17 ## DW_TAG_compile_unit
|
|
.byte 1 ## DW_CHILDREN_yes
|
|
.byte 0 ## EOM(1)
|
|
.byte 0 ## EOM(2)
|
|
.byte 2 ## Abbreviation Code
|
|
.byte 46 ## DW_TAG_subprogram
|
|
.byte 0 ## DW_CHILDREN_no
|
|
.byte 17 ## DW_AT_low_pc
|
|
.byte 1 ## DW_FORM_addr
|
|
.byte 0x55 ## DW_AT_ranges
|
|
.byte 6 ## DW_FORM_data4
|
|
.byte 0 ## EOM(1)
|
|
.byte 0 ## EOM(2)
|
|
.byte 0 ## EOM(3)
|
|
.section __DWARF,__debug_info,regular,debug
|
|
Lsection_info:
|
|
.long 22 ## Length of Unit
|
|
.short 2 ## DWARF version number
|
|
.long 0 ## Offset Into Abbrev. Section
|
|
.byte 8 ## Address Size (in bytes)
|
|
.byte 1 ## Abbrev [1] DW_TAG_compile_unit
|
|
.byte 2 ## Abbrev [2] DW_TAG_subprogram
|
|
.quad Lfunc_begin0 ## DW_AT_low_pc
|
|
.long 0 ## DW_AT_ranges (pointing at an empty entry)
|
|
.byte 0 ## End Of Children Mark
|
|
.section __DWARF,__debug_ranges,regular,debug
|
|
Ldebug_range:
|
|
.long 0
|
|
.long 0
|
|
|
|
# CHECK: DW_TAG_compile_unit
|
|
# CHECK: DW_TAG_subprogram
|
|
# CHECK-NEXT: DW_AT_low_pc{{.*}}(0x0000000000010000)
|
|
# CHECK-NEXT: DW_AT_ranges{{.*}}(0x00000000)
|
|
|
|
# There was a bug that would use the currently active object file when a
|
|
# debug map object isn't found. Check that we only linked one file.
|
|
# CHECK-NOT: DW_TAG_compile_unit
|
|
|