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.5 KiB
Plaintext
55 lines
2.5 KiB
Plaintext
RUN: llvm-dwarfdump -v %p/Inputs/dwarfdump-dwp.x86_64.o | FileCheck %s
|
|
|
|
; Testing the following simple dwp file:
|
|
; a.cpp:
|
|
; struct foo { };
|
|
; foo a;
|
|
; b.cpp:
|
|
; struct bar { };
|
|
; bar b() {
|
|
; }
|
|
|
|
; CHECK-NOT: .debug_info contents:
|
|
; CHECK-LABEL: .debug_info.dwo contents:
|
|
; CHECK: Compile Unit
|
|
|
|
; Verify that the second CU uses the index for its abbrev offset
|
|
; CHECK: Compile Unit
|
|
; CHECK-SAME: abbr_offset = 0x0043
|
|
; CHECK: DW_TAG_compile_unit
|
|
; CHECK-NOT: DW_TAG
|
|
; CHECK: DW_AT_name {{.*}} "b.cpp"
|
|
|
|
; Verify that abbreviations are decoded using the abbrev offset in the index
|
|
; CHECK: DW_TAG_structure_type
|
|
; CHECK: DW_TAG_subprogram
|
|
|
|
; CHECK-LABEL: .debug_types.dwo contents:
|
|
; CHECK: Type Unit
|
|
; CHECK: DW_TAG_type_unit
|
|
; CHECK: DW_AT_stmt_list {{.*}}(0x00000000)
|
|
; CHECK: DW_TAG_structure_type
|
|
; CHECK: DW_AT_decl_file {{.*}} ("a.cpp")
|
|
; CHECK: Type Unit
|
|
; CHECK: DW_TAG_type_unit
|
|
; CHECK: DW_AT_stmt_list {{.*}}(0x00000000)
|
|
; CHECK: DW_TAG_structure_type
|
|
; CHECK: DW_AT_decl_file {{.*}} ("b.cpp")
|
|
|
|
; CHECK: .debug_cu_index contents:
|
|
; CHECK-NEXT: version = 2, units = 2, slots = 16
|
|
; CHECK: Index Signature INFO ABBREV LINE STR_OFFSETS
|
|
; CHECK-NEXT: ----- ------------------ ---------------------------------------- ------------------------ ------------------------ ------------------------
|
|
; CHECK-NEXT: 3 0xfef104c25502f092 [0x000000000000002d, 0x000000000000005f) [0x00000043, 0x0000008e) [0x0000001a, 0x00000034) [0x00000010, 0x00000024)
|
|
; CHECK-NEXT: 9 0x03c30756e2d45008 [0x0000000000000000, 0x000000000000002d) [0x00000000, 0x00000043) [0x00000000, 0x0000001a) [0x00000000, 0x00000010)
|
|
|
|
; CHECK: .debug_tu_index contents:
|
|
; CHECK-NEXT: version = 2, units = 2, slots = 16
|
|
; CHECK: Index Signature TYPES ABBREV LINE STR_OFFSETS
|
|
; CHECK-NEXT: ----- ------------------ ---------------------------------------- ------------------------ ------------------------ ------------------------
|
|
; CHECK-NEXT: 9 0x1d02f3be30cc5688 [0x0000000000000024, 0x0000000000000048) [0x00000043, 0x0000008e) [0x0000001a, 0x00000034) [0x00000010, 0x00000024)
|
|
; CHECK-NEXT: 13 0x3875c0e21cda63fc [0x0000000000000000, 0x0000000000000024) [0x00000000, 0x00000043) [0x00000000, 0x0000001a) [0x00000000, 0x00000010)
|
|
|
|
; TODO: use the index section offset info to correctly dump strings in debug info
|
|
; TODO: use the index section offset info to correctly dump file names in debug info
|