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
54 lines
2.0 KiB
Plaintext
54 lines
2.0 KiB
Plaintext
# Check that the llvm-bolt update the dwarf information correctly in case:
|
|
# - DW_AT_low_pc is nullified in case the DW_AT_ranges tag already exists.
|
|
# - DW_AT_high_pc is in the form of DW_FORM_addr.
|
|
|
|
RUN: yaml2obj %p/Inputs/go_dwarf.yaml &> %t.exe
|
|
RUN: llvm-bolt %t.exe -o %t.bolt --update-debug-sections
|
|
|
|
# Check the original binary values.
|
|
RUN: llvm-dwarfdump -debug-info %t.exe 2>&1 | \
|
|
RUN: FileCheck %s -check-prefix=CHECKORIG
|
|
|
|
CHECKORIG: DW_TAG_compile_unit
|
|
CHECKORIG-NEXT: DW_AT_producer
|
|
CHECKORIG-NEXT: DW_AT_language
|
|
CHECKORIG-NEXT: DW_AT_name
|
|
CHECKORIG-NEXT: DW_AT_comp_dir
|
|
CHECKORIG-NEXT: DW_AT_ranges (0x00000000
|
|
CHECKORIG-NEXT: [0x0000000000000660, 0x0000000000000684))
|
|
CHECKORIG-NEXT: DW_AT_low_pc (0x0000000000000660)
|
|
|
|
CHECKORIG: DW_TAG_subprogram
|
|
CHECKORIG-NEXT: DW_AT_external (true)
|
|
CHECKORIG-NEXT: DW_AT_name ("main")
|
|
CHECKORIG-NEXT: DW_AT_decl_file
|
|
CHECKORIG-NEXT: DW_AT_decl_line (1)
|
|
CHECKORIG-NEXT: DW_AT_decl_column (5)
|
|
CHECKORIG-NEXT: DW_AT_type
|
|
CHECKORIG-NEXT: DW_AT_low_pc (0x0000000000000660)
|
|
CHECKORIG-NEXT: DW_AT_high_pc (0x0000000000000684)
|
|
|
|
|
|
# Check the bolted binary.
|
|
RUN: llvm-dwarfdump -debug-info %t.bolt 2>&1 | FileCheck %s
|
|
|
|
CHECK: DW_TAG_compile_unit
|
|
CHECK-NEXT: DW_AT_producer
|
|
CHECK-NEXT: DW_AT_language
|
|
CHECK-NEXT: DW_AT_name
|
|
CHECK-NEXT: DW_AT_comp_dir
|
|
CHECK-NEXT: DW_AT_ranges (0x00000010
|
|
CHECK-NEXT: [0x0000000000000660, 0x0000000000000684))
|
|
CHECK-NEXT: DW_AT_low_pc (0x0000000000000000)
|
|
CHECK-NEXT: DW_AT_stmt_list (0x00000000)
|
|
|
|
CHECK: DW_TAG_subprogram
|
|
CHECK-NEXT: DW_AT_external (true)
|
|
CHECK-NEXT: DW_AT_name ("main")
|
|
CHECK-NEXT: DW_AT_decl_file
|
|
CHECK-NEXT: DW_AT_decl_line (1)
|
|
CHECK-NEXT: DW_AT_decl_column (5)
|
|
CHECK-NEXT: DW_AT_type
|
|
CHECK-NEXT: DW_AT_low_pc (0x0000000000000660)
|
|
CHECK-NEXT: DW_AT_high_pc (0x0000000000000024)
|